test-suite/bugs/bug_4712.v
raw| 1 | Module Example1. |
| 2 | |
| 3 | Notation "x =_s y" := (x = y) (at level 50). |
| 4 | Fail Check id=_sid. |
| 5 | |
| 6 | End Example1. |
| 7 | |
| 8 | Module Example2. |
| 9 | (* see https://coq.zulipchat.com/#narrow/stream/237664-math-comp-users/topic/Surprising.20parsing.20of.20the.20.E2.80.9C*l.E2.80.9D.20notation *) |
| 10 | |
| 11 | Notation "*l" := Nat.add. |
| 12 | Check forall (T lT: Type) (x: T*lT), x = x. (* Expected to be "(x : T * lT)" *) |
| 13 | |
| 14 | End Example2. |