mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-20 18:21:47 +03:00
119d8321d4
* [ fix ] Use qualified type name for record elaboration (#1871) * Clarify record elaboration `Name` arguments
16 lines
221 B
Plaintext
16 lines
221 B
Plaintext
data Nat : Type where
|
|
Z : Nat
|
|
S : Nat -> Nat
|
|
|
|
namespace A
|
|
public export
|
|
record Dup where
|
|
constructor MkDup
|
|
label : Nat
|
|
|
|
namespace B
|
|
public export
|
|
record Dup where
|
|
constructor MkDup
|
|
label : Nat
|