lean4-htt/tests/lean/errorRecoveryBug.lean.expected.out
Leonardo de Moura 132d6de78d fix: antipattern
We should never assume a `Syntax` node has a specific number of
children because the parser error recovery may produce partial
abstract syntax trees. We should use `stx[i]` instead because
`Syntax.getOp` returns `Syntax.missing` when `i` is out of bounds.
2021-04-07 10:26:05 -07:00

1 line
58 B
Text

errorRecoveryBug.lean:2:0: error: unexpected end of input