raz / test / msg / SliceAsPtr.err

8 lines · 331 B · raw · history · last change 0d0c6bb1

1conform/err/SliceAsPtr.raz:7:9: error: can't use []U8 as ^U8
2 7 | put(s, LEN(s));
3 | ^
4help: PTR(s) is the address it starts at, a ^U8, and LEN(s) how many it has
5conform/err/SliceAsPtr.raz:2:10: note: it goes to _p, declared here
6 2 | proc put(_p: ^U8; _n: INT); begin end;
7 | ^^
8raz: 1 error