| 1 |
Module Import foo. |
| 2 |
Module Import bar. |
| 3 |
Definition x := I. |
| 4 |
End bar. |
| 5 |
Notation y := (ltac:(exact x)) (only parsing). |
| 6 |
End foo. |
| 7 |
|
| 8 |
Check y. |
| 9 |
(* Error: The reference x was not found in the current environment. *) |
| 10 |
|
| 11 |
Axiom x : True. |
| 12 |
Check eq_refl : y = bar.x. |