We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a59eee commit 566b395Copy full SHA for 566b395
compiler/src/dotty/tools/dotc/ast/MainProxies.scala
@@ -9,7 +9,7 @@ import ast.Trees._
9
/** Generate proxy classes for @main functions.
10
* A function like
11
*
12
- * @main f(x: S, ys: T*) = ...
+ * @main def f(x: S, ys: T*) = ...
13
14
* would be translated to something like
15
0 commit comments