Skip to content

Commit f38851a

Browse files
authored
Parsers.scala: support multiple if-guards on same line
1 parent d249111 commit f38851a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/parsing/Parsers.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2483,7 +2483,7 @@ object Parsers {
24832483
else Nil
24842484

24852485
/** Enumerator ::= Generator
2486-
* | Guard
2486+
* | Guard {Guard}
24872487
* | Pattern1 `=' Expr
24882488
*/
24892489
def enumerator(): Tree =

0 commit comments

Comments
 (0)