Skip to content

Commit 945fe63

Browse files
committed
snapshot
1 parent b727709 commit 945fe63

File tree

4 files changed

+0
-84
lines changed

4 files changed

+0
-84
lines changed

lib/4.06.1/unstable/js_compiler.ml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -111395,10 +111395,6 @@ module Bs_warnings : sig
111395111395
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
111396111396

111397111397

111398-
type t =
111399-
| Unsafe_poly_variant_type
111400-
111401-
val prerr_bs_ffi_warning : Location.t -> t -> unit
111402111398

111403111399

111404111400
val warn_missing_primitive : Location.t -> string -> unit
@@ -111436,24 +111432,10 @@ end = struct
111436111432

111437111433

111438111434

111439-
type t =
111440-
| Unsafe_poly_variant_type
111441-
(* for users write code like this:
111442-
{[ external f : [`a of int ] -> string = ""]}
111443-
Here users forget about `[@bs.string]` or `[@bs.int]`
111444-
*)
111445111435

111446111436

111447111437

111448-
let to_string t =
111449-
match t with
111450-
| Unsafe_poly_variant_type
111451-
->
111452-
"Here a OCaml polymorphic variant type passed into JS, probably you forgot annotations like `[@bs.int]` or `[@bs.string]` "
111453-
111454111438

111455-
let prerr_bs_ffi_warning loc x =
111456-
Location.prerr_warning loc (Bs_ffi_warning (to_string x))
111457111439

111458111440

111459111441

@@ -406928,9 +406910,6 @@ let spec_of_ptyp
406928406910
begin match ptyp_desc with
406929406911
| Ptyp_constr ({txt = Lident "unit"; _}, [])
406930406912
-> if nolabel then Extern_unit else Nothing
406931-
| Ptyp_variant _ ->
406932-
Bs_warnings.prerr_bs_ffi_warning ptyp.ptyp_loc Unsafe_poly_variant_type;
406933-
Nothing
406934406913
| _ ->
406935406914
Nothing
406936406915
end

lib/4.06.1/unstable/js_refmt_compiler.ml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -111395,10 +111395,6 @@ module Bs_warnings : sig
111395111395
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
111396111396

111397111397

111398-
type t =
111399-
| Unsafe_poly_variant_type
111400-
111401-
val prerr_bs_ffi_warning : Location.t -> t -> unit
111402111398

111403111399

111404111400
val warn_missing_primitive : Location.t -> string -> unit
@@ -111436,24 +111432,10 @@ end = struct
111436111432

111437111433

111438111434

111439-
type t =
111440-
| Unsafe_poly_variant_type
111441-
(* for users write code like this:
111442-
{[ external f : [`a of int ] -> string = ""]}
111443-
Here users forget about `[@bs.string]` or `[@bs.int]`
111444-
*)
111445111435

111446111436

111447111437

111448-
let to_string t =
111449-
match t with
111450-
| Unsafe_poly_variant_type
111451-
->
111452-
"Here a OCaml polymorphic variant type passed into JS, probably you forgot annotations like `[@bs.int]` or `[@bs.string]` "
111453-
111454111438

111455-
let prerr_bs_ffi_warning loc x =
111456-
Location.prerr_warning loc (Bs_ffi_warning (to_string x))
111457111439

111458111440

111459111441

@@ -406928,9 +406910,6 @@ let spec_of_ptyp
406928406910
begin match ptyp_desc with
406929406911
| Ptyp_constr ({txt = Lident "unit"; _}, [])
406930406912
-> if nolabel then Extern_unit else Nothing
406931-
| Ptyp_variant _ ->
406932-
Bs_warnings.prerr_bs_ffi_warning ptyp.ptyp_loc Unsafe_poly_variant_type;
406933-
Nothing
406934406913
| _ ->
406935406914
Nothing
406936406915
end

lib/4.06.1/unstable/native_ppx.ml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14330,10 +14330,6 @@ module Bs_warnings : sig
1433014330
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
1433114331

1433214332

14333-
type t =
14334-
| Unsafe_poly_variant_type
14335-
14336-
val prerr_bs_ffi_warning : Location.t -> t -> unit
1433714333

1433814334

1433914335
val warn_missing_primitive : Location.t -> string -> unit
@@ -14371,24 +14367,10 @@ end = struct
1437114367

1437214368

1437314369

14374-
type t =
14375-
| Unsafe_poly_variant_type
14376-
(* for users write code like this:
14377-
{[ external f : [`a of int ] -> string = ""]}
14378-
Here users forget about `[@bs.string]` or `[@bs.int]`
14379-
*)
14380-
1438114370

1438214371

14383-
let to_string t =
14384-
match t with
14385-
| Unsafe_poly_variant_type
14386-
->
14387-
"Here a OCaml polymorphic variant type passed into JS, probably you forgot annotations like `[@bs.int]` or `[@bs.string]` "
1438814372

1438914373

14390-
let prerr_bs_ffi_warning loc x =
14391-
Location.prerr_warning loc (Bs_ffi_warning (to_string x))
1439214374

1439314375

1439414376

@@ -19363,9 +19345,6 @@ let spec_of_ptyp
1936319345
begin match ptyp_desc with
1936419346
| Ptyp_constr ({txt = Lident "unit"; _}, [])
1936519347
-> if nolabel then Extern_unit else Nothing
19366-
| Ptyp_variant _ ->
19367-
Bs_warnings.prerr_bs_ffi_warning ptyp.ptyp_loc Unsafe_poly_variant_type;
19368-
Nothing
1936919348
| _ ->
1937019349
Nothing
1937119350
end

lib/4.06.1/whole_compiler.ml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -293380,10 +293380,6 @@ module Bs_warnings : sig
293380293380
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
293381293381

293382293382

293383-
type t =
293384-
| Unsafe_poly_variant_type
293385-
293386-
val prerr_bs_ffi_warning : Location.t -> t -> unit
293387293383

293388293384

293389293385
val warn_missing_primitive : Location.t -> string -> unit
@@ -293421,24 +293417,10 @@ end = struct
293421293417

293422293418

293423293419

293424-
type t =
293425-
| Unsafe_poly_variant_type
293426-
(* for users write code like this:
293427-
{[ external f : [`a of int ] -> string = ""]}
293428-
Here users forget about `[@bs.string]` or `[@bs.int]`
293429-
*)
293430293420

293431293421

293432293422

293433-
let to_string t =
293434-
match t with
293435-
| Unsafe_poly_variant_type
293436-
->
293437-
"Here a OCaml polymorphic variant type passed into JS, probably you forgot annotations like `[@bs.int]` or `[@bs.string]` "
293438-
293439293423

293440-
let prerr_bs_ffi_warning loc x =
293441-
Location.prerr_warning loc (Bs_ffi_warning (to_string x))
293442293424

293443293425

293444293426

@@ -409476,9 +409458,6 @@ let spec_of_ptyp
409476409458
begin match ptyp_desc with
409477409459
| Ptyp_constr ({txt = Lident "unit"; _}, [])
409478409460
-> if nolabel then Extern_unit else Nothing
409479-
| Ptyp_variant _ ->
409480-
Bs_warnings.prerr_bs_ffi_warning ptyp.ptyp_loc Unsafe_poly_variant_type;
409481-
Nothing
409482409461
| _ ->
409483409462
Nothing
409484409463
end

0 commit comments

Comments
 (0)