Skip to content

Commit 2c4b58c

Browse files
committed
Add todo
1 parent 43d2082 commit 2c4b58c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2831,6 +2831,7 @@ object Parsers {
28312831

28322832
/** Patterns ::= PatternArgument [`,' PatternArgument]
28332833
*/
2834+
// TODO: Should the parser handle the rule that named patterns can't come after positional patterns?
28342835
def patterns(location: Location = Location.InPattern): List[Tree] =
28352836
commaSeparated(() => namedPattern(location))
28362837

0 commit comments

Comments
 (0)