raz / test / msg / ConstMatchName.err

5 lines · 287 B · raw · history · last change b13f87f8

1conform/err/ConstMatchName.raz:6:18: error: r is only read here, and can't be changed
2 6 | | circle(r): r := 0;
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