tenum_invalid.nim 130 B

123456789
  1. discard """
  2. cmd: "nim check $file"
  3. """
  4. type
  5. Test = enum
  6. A = 9.0 #[tt.Error
  7. ^ ordinal type expected; given: float]#