Skip to content

Commit a08eebf

Browse files
committed
tweak
1 parent 2bedff1 commit a08eebf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interpreter/valid/valid.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,12 +439,12 @@ let check_memop (c : context) (memop : ('t, 's) memop) ty_size get_sz at =
439439
* declarative typing rules.
440440
*)
441441

442-
let check_resume_table (c : context) hdlt ts2 (xys : (idx * hdl) list) at =
442+
let check_resume_table (c : context) hrt ts2 (xys : (idx * hdl) list) at =
443443
List.iter (fun (x1, x2) ->
444444
match x2 with
445445
| OnLabel x2 ->
446446
let FuncT (ts3, ts4) =
447-
match hdlt with
447+
match hrt with
448448
| Some rt ->
449449
let FuncT (ts3, ts4) = func_type_of_tag_type c (tag c x1) x1.at in
450450
FuncT (ts3, ts4 @ [RefT rt])

0 commit comments

Comments
 (0)