mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-18 10:21:39 +03:00
cbf8785d32
Also need to make sure that the constructor and fields are included in the nested names so that the parameters get expanded properly. Fixes #138
10 lines
133 B
Idris
10 lines
133 B
Idris
import Data.Vect
|
|
|
|
parameters (len : Nat)
|
|
record Foo where
|
|
constructor Bar
|
|
Gnat : Vect len Nat
|
|
|
|
foo : Foo 1
|
|
foo = Bar _ [0]
|