☰
Debian Codegraph
@
9.2.0+dfsg-4
/
/
test-suite
/
ltac2
/
record_punning.v
☽
☼
test-suite/ltac2/record_punning.v
code
plain
raw
LGPL-2.1
1999-2021 The Coq Development Team,; Institut National de Recherche en Informatique et en Automatique (INRIA),; Centre National de la Recherche Scientifique (CNRS),; Microsoft corporation; and contributors
debian/copyright
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 }.