fork download
  1. let
  2. a: tuple[a, b: int] = (1, 2)
  3. b: tuple[x, y: int] = a
Compilation error #stdin compilation error #stdout 0s 2420KB
stdin
Standard input is empty
compilation info
prog.nim(3, 25) Error: type mismatch: got (tuple[a: int, b: int]) but expected 'tuple[x: int, y: int]'
stdout
Standard output is empty