Debian Codegraph @

test-suite/ltac2/record_punning.v

raw
1 Require Import Ltac2.Ltac2.
2 Module M.
3 Ltac2 Type 'a foo := { a : 'a; b : 'a }.
4 End M.
5 Import M.
6
7 Ltac2 foo b := { a := (); b }.
8
9 Fail Ltac2 foo' (b:int) := { a := (); b }.
10
11 Ltac2 foo' b := { a := (); M.b }.