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-
4040
4141BS_FLAGS = $(BS_COMMON_FLAGS ) $(BS_PKG_FLAGS )
4242
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
4444
4545
4646$(RUNTIME ) : $(COMPILER )
Original file line number Diff line number Diff line change @@ -94,10 +94,10 @@ type (+'a, +'e) promise
9494*)
9595
9696
97- val true_ : boolean
97+ val true_ : bool
9898[@@ ocaml.deprecated "Use true directly" ]
9999
100- val false_ : boolean
100+ val false_ : bool
101101[@@ ocaml.deprecated "Use false directly" ]
102102
103103external null : 'a null = " #null"
@@ -107,7 +107,8 @@ external undefined : 'a undefined = "#undefined"
107107(* * The same as [empty] {!Js.Undefined} will be compiled as [undefined]*)
108108
109109
110- external to_bool : boolean -> bool = " %identity"
110+ external to_bool : bool -> bool = " %identity"
111+ [@@ ocaml.deprecated "This function is not needed any more" ]
111112(* * convert Js boolean to OCaml bool *)
112113
113114external typeof : 'a -> string = " #typeof"
You can’t perform that action at this time.
0 commit comments