We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 863b647 commit 3fb483dCopy full SHA for 3fb483d
interpreter/runtime/exn.ml
@@ -13,7 +13,7 @@ let alloc_exn tag vs =
13
assert (ts2 = []);
14
Exn (tag, vs)
15
16
-let type_of_exn (Exn (tag, _)) =
+let type_of (Exn (tag, _)) =
17
let TagT dt = Tag.type_of tag in
18
dt
19
@@ -27,7 +27,7 @@ let () =
27
let () =
28
let type_of_ref' = !Value.type_of_ref' in
29
Value.type_of_ref' := function
30
- | ExnRef e -> DefHT (type_of_exn e)
+ | ExnRef e -> DefHT (type_of e)
31
| r -> type_of_ref' r
32
33
interpreter/runtime/exn.mli
@@ -7,4 +7,4 @@ type ref_ += ExnRef of exn_
7
8
val alloc_exn : Tag.t -> value list -> exn_
9
10
-val type_of_exn : exn_ -> def_type
+val type_of : exn_ -> def_type
0 commit comments