t2669.nim 120 B

1234567
  1. discard """
  2. errormsg: "cannot convert 6 to range 1..5(int8)"
  3. line: 6
  4. """
  5. var c: set[range[1i8..5i8]] = {1i8, 2i8, 6i8}