Fix generic sandwich problem.

This commit is contained in:
cheatfate 2021-11-09 17:17:50 +02:00 committed by zah
parent b002c1fad0
commit a587b7a8eb

View File

@ -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]