Skip to content

Commit

Permalink
reset argument order for Unwind
Browse files Browse the repository at this point in the history
  • Loading branch information
disruptek committed Jul 31, 2021
1 parent 9f8eefb commit a4a9e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cps/hooks.nim
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ proc hook*(hook: static[Hook]; a, b: NormNode): NormNode =
of Unwind:
# hook(continuation, Cont)
let unwind = hook.sym.NimNode
Unwind.entrace b, a:
Unwind.entrace a, b:
NormNode:
quote:
if not `a`.ex.isNil:
Expand Down

0 comments on commit a4a9e99

Please sign in to comment.