raz / test / err / ExprProcValue.err

8 lines · 300 B · raw · history · last change ce8052e0

1test/err/ExprProcValue.raz:10:10: error: Out.ln is a procedure, and returns nothing
2 10 | a := Out.ln;
3 | ^^^^^^
4test/err/ExprProcValue.raz:11:10: error: can't use proc(): (I64, I64) as I64
5 11 | a := pair;
6 | ^^^^
7help: to call it, write pair()
8raz: 2 errors