raz / test / msg / BadProc.err

7 lines · 368 B · raw · history · last change 51c3b8b8

1conform/err/BadProc.raz:2:35: error: cmp doesn't have the signature of hash
2 2 | import Str, M := Table([]U8, I64, Str.cmp, Str.eq);
3 | ^^^^^^^
4conform/err/mods/Table.raz:3:20: note: the signature is here
5 3 | module Table(K, V; hash: proc(k: K): U64; eq: proc(a, b: K): BOOL);
6 | ^^^^
7raz: 1 error