File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ BS_COMMON_FLAGS= -absname -no-alias-deps -bs-no-version-header -bs-diagnose -bs-
40
40
41
41
BS_FLAGS = $(BS_COMMON_FLAGS ) $(BS_PKG_FLAGS )
42
42
43
- COMPFLAGS += $(BS_FLAGS ) -I ../stdlib -nostdlib -nopervasives -open Pervasives -unsafe -warn-error -3 -w -40-49-103 -bin-annot
43
+ COMPFLAGS += $(BS_FLAGS ) -I ../stdlib -nostdlib -nopervasives -open Pervasives -unsafe -warn-error A -w -40-49-103 -bin-annot
44
44
45
45
46
46
$(RUNTIME ) : $(COMPILER )
Original file line number Diff line number Diff line change @@ -94,10 +94,10 @@ type (+'a, +'e) promise
94
94
*)
95
95
96
96
97
- val true_ : boolean
97
+ val true_ : bool
98
98
[@@ ocaml.deprecated "Use true directly" ]
99
99
100
- val false_ : boolean
100
+ val false_ : bool
101
101
[@@ ocaml.deprecated "Use false directly" ]
102
102
103
103
external null : 'a null = " #null"
@@ -107,7 +107,8 @@ external undefined : 'a undefined = "#undefined"
107
107
(* * The same as [empty] {!Js.Undefined} will be compiled as [undefined]*)
108
108
109
109
110
- external to_bool : boolean -> bool = " %identity"
110
+ external to_bool : bool -> bool = " %identity"
111
+ [@@ ocaml.deprecated "This function is not needed any more" ]
111
112
(* * convert Js boolean to OCaml bool *)
112
113
113
114
external typeof : 'a -> string = " #typeof"
You can’t perform that action at this time.
0 commit comments