mirror of
https://github.com/status-im/nim-stew.git
synced 2025-02-13 20:46:44 +00:00
Fix generic sandwich problem.
This commit is contained in:
parent
b002c1fad0
commit
a587b7a8eb
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user