tree-sitter/test/fixtures/test_grammars/associativity_missing/expected_error.txt
Max Brunsfeld cbdfd89675 Mark reductions as fragile based on their final properties
We previously maintained a set of individual productions that were
involved in conflicts, but that was subtly incorrect because
we don't compare productions themselves when comparing parse items;
we only compare the parse items properties that could affect the
final reduce actions.
2017-07-21 09:54:24 -07:00

13 lines
399 B
Text

Unresolved conflict for symbol sequence:
expression '+' expression • '+' …
Possible interpretations:
1: expression '+' (math_operation expression • '+' expression)
2: (math_operation expression '+' expression) • '+' …
Possible resolutions:
1: Specify a left or right associativity in `math_operation`
2: Add a conflict for these rules: `math_operation`