|
1 |
| -(** Bundled by bspack 08/25-14:43 *) |
| 1 | +(** Bundled by bspack 08/30-11:56 *) |
2 | 2 | module String_map : sig
|
3 | 3 | #1 "string_map.mli"
|
4 | 4 | (* Copyright (C) 2015-2016 Bloomberg Finance L.P.
|
@@ -4037,7 +4037,7 @@ let int32 = "Caml_int32"
|
4037 | 4037 | let block = "Block"
|
4038 | 4038 | let js_primitive = "Js_primitive"
|
4039 | 4039 | let module_ = "Caml_module"
|
4040 |
| -let version = "0.9.6" |
| 4040 | +let version = "0.9.7" |
4041 | 4041 |
|
4042 | 4042 |
|
4043 | 4043 | let runtime_set =
|
@@ -4832,14 +4832,11 @@ let handle_attributes
|
4832 | 4832 | get_name = `Nm_na ;
|
4833 | 4833 | external_module_name = None ;
|
4834 | 4834 | } ->
|
4835 |
| - begin match arg_types with |
4836 |
| - | _self :: _args -> |
4837 |
| - Js_send {splice ; |
4838 |
| - name = string_of_bundle_source prim_name_or_pval_prim; |
4839 |
| - pipe = true} |
4840 |
| - | _ -> |
4841 |
| - Location.raise_errorf ~loc "Ill defined attribute [@@bs.send] (at least one argument)" |
4842 |
| - end |
| 4835 | + (** can be one argument *) |
| 4836 | + Js_send {splice ; |
| 4837 | + name = string_of_bundle_source prim_name_or_pval_prim; |
| 4838 | + pipe = true} |
| 4839 | + |
4843 | 4840 | | {val_send_pipe = Some _ }
|
4844 | 4841 | -> Location.raise_errorf ~loc "conflict attributes found"
|
4845 | 4842 |
|
@@ -6200,11 +6197,11 @@ let rec unsafe_mapper : Ast_mapper.mapper =
|
6200 | 6197 | Ast_comb.to_undefined_type loc @@
|
6201 | 6198 | if name = "module_" then
|
6202 | 6199 | Typ.constr ~loc
|
6203 |
| - { txt = Ldot (Lident "Bs_node", "node_module") ; |
| 6200 | + { txt = Ldot (Lident "Node", "node_module") ; |
6204 | 6201 | loc} []
|
6205 | 6202 | else if name = "require" then
|
6206 | 6203 | (Typ.constr ~loc
|
6207 |
| - { txt = Ldot (Lident "Bs_node", "node_require") ; |
| 6204 | + { txt = Ldot (Lident "Node", "node_require") ; |
6208 | 6205 | loc} [] )
|
6209 | 6206 | else
|
6210 | 6207 | Ast_literal.type_string ~loc () in
|
|
0 commit comments