File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,16 @@ import scala.collection.mutable.ListBuffer
22
22
*
23
23
* `args` returns the current command line arguments as an array.
24
24
*
25
+ * ==Caveats==
26
+ *
27
+ * '''''It should be noted that this trait is implemented using the [[DelayedInit ]]
28
+ * functionality, which means that fields of the object will not have been initialized
29
+ * before the main method has been executed.'''''
30
+ *
31
+ * It should also be noted that the `main` method will not normally need to be overridden:
32
+ * the purpose is to turn the whole class body into the “main method”. You should only
33
+ * chose to override it if you know what you are doing.
34
+ *
25
35
* @author Martin Odersky
26
36
* @version 2.1, 15/02/2011
27
37
*/
You can’t perform that action at this time.
0 commit comments