We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents afef5fe + 7e766a0 commit b0a4d53Copy full SHA for b0a4d53
src/library/scala/App.scala
@@ -22,6 +22,16 @@ import scala.collection.mutable.ListBuffer
22
*
23
* `args` returns the current command line arguments as an array.
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
35
* @author Martin Odersky
36
* @version 2.1, 15/02/2011
37
*/
0 commit comments