tree-sitter/test/fixtures/test_grammars/partially_resolved_conflict
2025-09-16 02:24:11 -04:00
..
expected_error.txt Fix non-deterministic conflict message order 2019-03-29 17:36:19 -07:00
grammar.js feat: migrate to ESM 2025-09-16 02:24:11 -04:00
readme.txt Fix conflict reporting for shift/reduce conflicts w/ multiple reductions 2017-08-02 15:13:30 -07:00

This grammar has a conflict with three possible actions: a shift in the middle of the `binary` rule and two reductions: one for `unary_a` and one for `unary_b`. Both `unary_a` and `unary_b` have a higher precedence than `binary`, therefore we can rule out the interpretation where a `binary` occurs *inside* of a `unary_a` or `unary_b`, so the error message (and suggested `conflict`) should not include that interpretation.