mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-19 01:01:59 +03:00
a972778eab
They don't all pass yet, for minor reasons. Coming shortly... Unfortunately the startup overhead for chez is really noticeable here!
18 lines
266 B
Idris
18 lines
266 B
Idris
||| Tests for issue #269
|
|
import Data.Vect
|
|
|
|
%unbound_implicits off
|
|
|
|
record Foo (x : Vect n Nat) where
|
|
constructor MkFoo
|
|
|
|
parameters (Foo : Vect n Nat)
|
|
bar : Nat
|
|
bar = 0
|
|
|
|
|
|
interface Foo (a : Vect n Nat) where
|
|
baz : Nat
|
|
|
|
implementation Functor (Vect n) where
|