tindexconv.nim 175 B

12345
  1. block: # issue #17958
  2. var mem: array[uint8, uint8]
  3. let val = 0xffff'u16
  4. discard mem[uint8 val] # Error: unhandled exception: index 65535 not in 0 .. 255 [IndexDefect]