1
1
mirror of https://github.com/anoma/juvix.git synced 2025-01-08 16:51:53 +03:00
juvix/tests/negative/PrecedenceInconsistency.juvix
Łukasz Czajka ef1148beaa
Fix precedence inconsistency bug (#2470)
Precedence inconsistency was not always correctly detected.
2023-10-25 16:13:27 +02:00

6 lines
207 B
Plaintext

module PrecedenceInconsistency;
syntax fixity f1 := binary {assoc := left};
syntax fixity f2 := binary {assoc := left; same := f1};
syntax fixity f3 := binary {assoc := left; above := [f1]; below := [f2]};