a20a8e6ad ^
ef6eda4cb ^
1
2
3 4 5 6 7 8 9 10 11 12 13 14 15 16
discard """ errormsg: "type mismatch: got <string, arr: seq[empty]>" line: 15 """ # https://github.com/nim-lang/Nim/issues/4756 type Test* = ref object name*: string proc newTest(name: string, arr: seq): Test = result = Test(name: name) let test = newTest("test", arr = @[])