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.
1 line
58 B
Text
1 line
58 B
Text
errorRecoveryBug.lean:2:0: error: unexpected end of input
|