Skip to content

Commit 566b395

Browse files
committed
Fix typo
1 parent 5a59eee commit 566b395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/ast/MainProxies.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import ast.Trees._
99
/** Generate proxy classes for @main functions.
1010
* A function like
1111
*
12-
* @main f(x: S, ys: T*) = ...
12+
* @main def f(x: S, ys: T*) = ...
1313
*
1414
* would be translated to something like
1515
*

0 commit comments

Comments
 (0)