Debian Codegraph @

test-suite/output/bug_20188.v

raw
1 Require Import Ltac2.Ltac2.
2 Notation "[[ x ]]" := ltac2:(()) (only parsing).
3 Notation "[ x ]" := ltac2:(let x := Ltac2.Constr.pretype x in exact $x) (only parsing).
4 Fail Check foo. (* Error: The reference foo was not found in the current environment. *)
5 Check [[ foo ]]. (* success *)
6 Check [ foo ].