Skip to content

Commit 946e356

Browse files
committed
Fix argument order
1 parent 6d7826a commit 946e356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interpreter/exec/eval.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ let rec step (c : config) : config =
436436
Ref (HandlerRef (ref (Some Name)))
437437
in
438438
cont := None;
439-
vs', [Prompt (Some Name, hs, ctxt (args @ [name], [])) @@ e.at]
439+
vs', [Prompt (Some Name, hs, ctxt (name :: args, [])) @@ e.at]
440440

441441
| Switch (x, y), Ref (NullRef _) :: vs ->
442442
vs, [Trapping "null continuation reference" @@ e.at]

0 commit comments

Comments
 (0)