raz / test / err / SetConstTyped.err

4 lines · 176 B · raw · history · last change 566e0c1e

1test/err/SetConstTyped.raz:4:10: error: a set constant takes its type from its names: write it without one
2 4 | const W: Kinds = {a, b};
3 | ^^^^^
4raz: 1 error