Skip to content

Commit 6d7826a

Browse files
committed
tweak
1 parent 9c6f7bd commit 6d7826a

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
@@ -452,12 +452,12 @@ let check_memop (c : context) (memop : ('t, 's) memop) ty_size get_sz at =
452452
* declarative typing rules.
453453
*)
454454

455-
let check_resume_table (c : context) hdlt ts2 (xys : (idx * hdl) list) at =
455+
let check_resume_table (c : context) hrt ts2 (xys : (idx * hdl) list) at =
456456
List.iter (fun (x1, x2) ->
457457
match x2 with
458458
| OnLabel x2 ->
459459
let FuncT (ts3, ts4) =
460-
match hdlt with
460+
match hrt with
461461
| Some rt ->
462462
let FuncT (ts3, ts4) = func_type_of_tag_type c (tag c x1) x1.at in
463463
FuncT (ts3, ts4 @ [RefT rt])

0 commit comments

Comments
 (0)