Idris2/tests/idris2/warning/warning003/Main.idr
2023-09-07 14:57:22 +01:00

12 lines
198 B
Idris

module Main
record TestRecord where
constructor MkTestRecord
recField : Int
testRec : TestRecord
testRec = MkTestRecord 0
updatedRec : TestRecord
updatedRec = record { recField = 1 } testRec