tuplecast.nim 119 B

123456789
  1. # bug #4345
  2. # only needs to compile
  3. proc f(): tuple[a, b: uint8] = (1'u8, 2'u8)
  4. let a, b = f()
  5. let c = cast[int](b)