mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
* nested typeToString * typeToString: preferResolved * add test * fix test * preferMixed * fix tests
8 lines
156 B
Nim
8 lines
156 B
Nim
discard """
|
|
errormsg: "invalid type: 'openArray[int]' for result"
|
|
line: 6
|
|
"""
|
|
|
|
proc foo(a: openArray[int]):auto = a
|
|
echo foo(toOpenArray([1, 2], 0, 2))
|