raz / test / msg / VariantConstMatch.err

5 lines · 290 B · raw · history · last change 71a95b30

1conform/err/VariantConstMatch.raz:7:18: error: r is only read here, and can't be changed
2 7 | | circle(r): r := 2;
3 | ^
4help: a const parameter, a constant, and the names a match gives their fields, are only read: take a var parameter to change it
5raz: 1 error