diff --git a/stew/shims/macros.nim b/stew/shims/macros.nim index 3fa9fc40..347fc5a5 100644 --- a/stew/shims/macros.nim +++ b/stew/shims/macros.nim @@ -403,7 +403,7 @@ iterator baseTypes*(exceptionType: NimNode): NimNode = typ = objType[1][0] yield typ -macro unpackArgs*(callee: typed, args: untyped): untyped = +macro unpackArgs*(callee: untyped, args: untyped): untyped = result = newCall(callee) for arg in args: let arg = if arg.kind == nnkHiddenStdConv: arg[1]