Provide all preceding symbols as context when reporting conflicts

This commit is contained in:
Max Brunsfeld 2017-07-07 14:42:18 -07:00
parent c91ceaaa8d
commit a98abde529
2 changed files with 55 additions and 42 deletions

View file

@ -1,11 +1,11 @@
Unresolved conflict for symbol sequence:
identifier • '{' …
identifier identifier • '{' …
Possible interpretations:
1: (expression identifier) • '{' …
2: (function_call identifier • block)
1: identifier (expression identifier) • '{' …
2: identifier (function_call identifier • block)
Possible resolutions: