Nim/tests/types/tassignemptytuple.nim
2018-12-11 21:23:21 +01:00

11 lines
200 B
Nim

discard """
errormsg: "cannot infer the type of the tuple"
file: "tassignemptytuple.nim"
line: 11
"""
var
foo: seq[int]
bar: tuple[a: seq[int], b: set[char]]
(foo, bar) = (@[], (@[], {}))