make tests green again
This commit is contained in:
parent
9b31f67859
commit
0926754e68
31 changed files with 61 additions and 55 deletions
|
|
@ -1,11 +1,11 @@
|
|||
discard """
|
||||
errormsg: "invalid type: 'expr' in this context: 'proc (a: varargs[expr])' for proc"
|
||||
errormsg: "invalid type: 'untyped' in this context: 'proc (a: varargs[untyped])' for proc"
|
||||
line: 8
|
||||
"""
|
||||
|
||||
import typetraits
|
||||
|
||||
proc foo(a:varargs[expr]) =
|
||||
proc foo(a:varargs[untyped]) =
|
||||
echo a[0].type.name
|
||||
|
||||
foo(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue