Parser rejects "if (ret) { }" #676
Labels
A-frontend
Area: Compiler frontend (errors, parsing and HIR)
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
/Users/jruderman/Desktop/a.rs:2:15:2:16: error: unexpected token: )
This should be accepted by both the parser and the type-checker (but perhaps trigger a warning). Found through AST fuzzing.
The text was updated successfully, but these errors were encountered: