raz / test / msg / ExportSlice.err

5 lines · 211 B · raw · history · last change b5e76eab

1conform/err/ExportSlice.raz:6:11: error: can't use []const INT as []INT
2 6 | _s := Owner.a[0..2];
3 | ^^^^^^^^^^^^^
4help: its elements are only read, and a []T could write them
5raz: 1 error