Skip to content

Commit

Permalink
Fix generic sandwich problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
cheatfate authored and zah committed Nov 9, 2021
1 parent b002c1f commit a587b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stew/shims/macros.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit a587b7a

Please sign in to comment.