diff options
Diffstat (limited to 'tests/objects')
-rw-r--r-- | tests/objects/toop1.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/objects/toop1.nim b/tests/objects/toop1.nim index f22ddaf62..3e9b24990 100644 --- a/tests/objects/toop1.nim +++ b/tests/objects/toop1.nim @@ -34,7 +34,7 @@ proc init(my: var TRectangle) = my.height = 10 my.draw = cast[proc (my: var TFigure) {.nimcall.}](drawRectangle) -macro `!` (n: untyped): typed {.immediate.}= +macro `!` (n: varargs[untyped]): typed = let n = callsite() result = newNimNode(nnkCall, n) var dot = newNimNode(nnkDotExpr, n) |