Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ast/parser: fix else handling with ref heads (#5425)
There was a case that slipped through the parser, but failed at a later stage. a.b[x] { x := input } else := 2 It's now caught early. Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
- Loading branch information
Showing
2 changed files
with
97 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters