raz / test / err / Dropped.err

9 lines · 368 B · raw · history · last change 9ca6cfc3

1test/err/Dropped.raz:9:5: error: the result of Sys.write is dropped
2 9 | Sys.write(Sys.stdout, "a\n");
3 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4help: if that is meant, write _ := Sys.write(...)
5test/err/Dropped.raz:10:5: error: the results of pair are dropped
6 10 | pair();
7 | ^^^^^^
8help: if that is meant, write _, _ := pair(...)
9raz: 2 errors