Idris2/tests/idris2/reg/reg013/UnboundImplicits.idr
2023-09-07 14:57:22 +01:00

18 lines
264 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