check in test from dependent record fix

This commit is contained in:
2026-01-23 08:53:49 -08:00
parent 3dd9955533
commit 84c4008724

16
tests/DepRecord.newt Normal file
View File

@@ -0,0 +1,16 @@
module DepRecord
import Prelude
infixr 6 _:-_
data Vect : (0 n : Nat) (0 a : U) U where
VNil : a. Vect Z a
_:-_ : k a. a Vect k a Vect (S k) a
data Foo : U where
Bar : {n : Nat} Vect n Int Foo
record DepPair where
n : Nat
stuff : Vect n Int