Idris2/tests/idris2/warning/warning003/expected
2023-09-07 14:57:22 +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
^^^^^^^^^^^^^^^^^^^^^^^