raz / test / msg / PtrExport.err

5 lines · 274 B · raw · history · last change 264716cb

1conform/err/PtrExport.raz:7:21: error: Owner.a is Owner's, and can't be changed outside it
2 7 | p := SYSTEM.PTR(Owner.a);
3 | ^^^^^^^
4help: a pointer to it could change it, as a slice of it could: copy it to a variable here first
5raz: 1 error