We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ceead4 commit 188efd2Copy full SHA for 188efd2
jscomp/stdlib-406/printexc.ml
@@ -36,7 +36,7 @@ let fields : exn -> string = [%raw{|function(x){
36
37
38
39
-external exn_slot_id : exn -> int = "caml_exn_slot_id"
+(* external exn_slot_id : exn -> int = "caml_exn_slot_id" *)
40
41
external exn_slot_name : exn -> string = "caml_exn_slot_name"
42
jscomp/stdlib-406/printexc.mli
@@ -325,7 +325,8 @@ val get_raw_backtrace_next_slot :
325
*)
326
327
(** {1 Exception slots} *)
328
-
+#if BS then
329
+#else
330
val exn_slot_id: exn -> int
331
(** [Printexc.exn_slot_id] returns an integer which uniquely identifies
332
the constructor used to create the exception value [exn]
@@ -340,3 +341,4 @@ val exn_slot_name: exn -> string
340
341
342
@since 4.02.0
343
344
+#end
0 commit comments