Debian Codegraph @

test-suite/output/bug_18138.v

raw
1 Require Import Ltac2.Ltac2.
2
3 Module Import M.
4 Ltac2 foo := ().
5 End M.
6
7 #[warnings="-ltac2-unused-variable"]
8 Ltac2 bar foo := M.foo.
9
10 Print bar.
11 (* was fun foo => foo *)
12
13 (* sadly this is still incorrect *)
14 Ltac2 baz foo := constr:(ltac2:(foo M.foo)).
15
16 Print baz.