Idris2/tests/idris2/warning003/expected
2022-07-07 16:42:34 +01:00

14 lines
393 B
Plaintext

1/1: Building Main (Main.idr)
Warning: DEPRECATED: old record update syntax.
Use "{ f := v } p" instead of "record { f = v } p"
and "{ f $= v } p" instead of "record { f $= v } p"
Main:11:14--11:37
07 | testRec : TestRecord
08 | testRec = MkTestRecord 0
09 |
10 | updatedRec : TestRecord
11 | updatedRec = record { recField = 1 } testRec
^^^^^^^^^^^^^^^^^^^^^^^