Scala for loops parse error #5650
Labels
lang:scala
parsing
Requires a fix in a parser, typically a tree-sitter or menhir grammar.
parsing-pattern
priority:low
user:external
requested by someone outside of r2c
I expected that
for($EXPR2; $IDENT <- $GEN; $EXPR) {yield ... }
Or
for(...; $IDENT <- $GEN; ...) {yield ... }
would parse as patterns but they don't as of 0.100: https://semgrep.dev/s/NoNx
The text was updated successfully, but these errors were encountered: