Skip to content

Commit f4dbf5e

Browse files
committed
snapshot
1 parent 089bdf5 commit f4dbf5e

File tree

7 files changed

+19
-16
lines changed

7 files changed

+19
-16
lines changed

lib/4.06.1/bsb.ml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ end = struct
5858
let version = "9.1.0"
5959
let header =
6060
"// Generated by ReScript, PLEASE EDIT WITH CARE"
61-
let package_name = ref "bs-platform"
61+
let package_name = ref "rescript"
6262

6363
end
6464
module Ext_array : sig
@@ -6522,7 +6522,7 @@ let print (fmt : Format.formatter) (x : error) =
65226522
"File \"bsconfig.json\", line 1\n\
65236523
@{<error>Error:@} package @{<error>%s@} is not found %s\n\
65246524
It's the basic, required package. If you have it installed globally,\n\
6525-
Please run `npm link bs-platform` to make it available" name in_json
6525+
Please run `npm link rescript` to make it available" name in_json
65266526
else
65276527
Format.fprintf fmt
65286528
"File \"bsconfig.json\", line 1\n\
@@ -8795,7 +8795,7 @@ type t =
87958795
pinned_dependencies : Set_string.t;
87968796
built_in_dependency : bool;
87978797
warning : Bsb_warning.t;
8798-
(*TODO: maybe we should always resolve bs-platform
8798+
(*TODO: maybe we should always resolve rescript
87998799
so that we can calculate correct relative path in
88008800
[.merlin]
88018801
*)
@@ -11131,7 +11131,7 @@ let extract_package_name_and_namespace
1113111131
(kinda check npm upgrade)
1113211132

1113311133
Note if the setup is correct:
11134-
the running compiler and node_modules/bs-platform
11134+
the running compiler and node_modules/rescript
1113511135
should be the same version,
1113611136
The exact check is that the running compiler should have a
1113711137
compatible runtime version installed, the location of the

lib/4.06.1/rescript.ml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5940,7 +5940,7 @@ end = struct
59405940
let version = "9.1.0"
59415941
let header =
59425942
"// Generated by ReScript, PLEASE EDIT WITH CARE"
5943-
let package_name = ref "bs-platform"
5943+
let package_name = ref "rescript"
59445944

59455945
end
59465946
module Bsb_pkg_types : sig
@@ -6522,7 +6522,7 @@ let print (fmt : Format.formatter) (x : error) =
65226522
"File \"bsconfig.json\", line 1\n\
65236523
@{<error>Error:@} package @{<error>%s@} is not found %s\n\
65246524
It's the basic, required package. If you have it installed globally,\n\
6525-
Please run `npm link bs-platform` to make it available" name in_json
6525+
Please run `npm link rescript` to make it available" name in_json
65266526
else
65276527
Format.fprintf fmt
65286528
"File \"bsconfig.json\", line 1\n\
@@ -8795,7 +8795,7 @@ type t =
87958795
pinned_dependencies : Set_string.t;
87968796
built_in_dependency : bool;
87978797
warning : Bsb_warning.t;
8798-
(*TODO: maybe we should always resolve bs-platform
8798+
(*TODO: maybe we should always resolve rescript
87998799
so that we can calculate correct relative path in
88008800
[.merlin]
88018801
*)
@@ -11131,7 +11131,7 @@ let extract_package_name_and_namespace
1113111131
(kinda check npm upgrade)
1113211132

1113311133
Note if the setup is correct:
11134-
the running compiler and node_modules/bs-platform
11134+
the running compiler and node_modules/rescript
1113511135
should be the same version,
1113611136
The exact check is that the running compiler should have a
1113711137
compatible runtime version installed, the location of the

lib/4.06.1/unstable/all_ounit_tests.ml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9801,6 +9801,7 @@ module Ext_obj : sig
98019801
* along with this program; if not, write to the Free Software
98029802
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
98039803
val dump : 'a -> string
9804+
val dump_endline : ?__LOC__:string -> 'a -> unit
98049805
val pp_any : Format.formatter -> 'a -> unit
98059806
val bt : unit -> unit
98069807
end = struct
@@ -9909,7 +9910,9 @@ let rec dump r =
99099910
opaque (Printf.sprintf "unknown: tag %d size %d" t s)
99109911

99119912
let dump v = dump (Obj.repr v)
9912-
9913+
let dump_endline ?(__LOC__="") v =
9914+
print_endline __LOC__;
9915+
print_endline (dump v )
99139916
let pp_any fmt v =
99149917
Format.fprintf fmt "@[%s@]"
99159918
(dump v )

lib/4.06.1/unstable/js_compiler.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18040,7 +18040,7 @@ end = struct
1804018040
let version = "9.1.0"
1804118041
let header =
1804218042
"// Generated by ReScript, PLEASE EDIT WITH CARE"
18043-
let package_name = ref "bs-platform"
18043+
let package_name = ref "rescript"
1804418044

1804518045
end
1804618046
module Bsc_warnings
@@ -97393,7 +97393,7 @@ let get_runtime_module_path
9739397393
current_package_info
9739497394
~package_dir:(Lazy.force Ext_path.package_dir)
9739597395
module_system )
97396-
(*Invariant: the package path to bs-platform, it is used to
97396+
(*Invariant: the package path to rescript, it is used to
9739797397
calculate relative js path
9739897398
*)
9739997399
(match !Js_config.customize_runtime with

lib/4.06.1/whole_compiler.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304480,7 +304480,7 @@ end = struct
304480304480
let version = "9.1.0"
304481304481
let header =
304482304482
"// Generated by ReScript, PLEASE EDIT WITH CARE"
304483-
let package_name = ref "bs-platform"
304483+
let package_name = ref "rescript"
304484304484

304485304485
end
304486304486
module Bsc_warnings
@@ -379979,7 +379979,7 @@ let get_runtime_module_path
379979379979
current_package_info
379980379980
~package_dir:(Lazy.force Ext_path.package_dir)
379981379981
module_system )
379982-
(*Invariant: the package path to bs-platform, it is used to
379982+
(*Invariant: the package path to rescript, it is used to
379983379983
calculate relative js path
379984379984
*)
379985379985
(match !Js_config.customize_runtime with
@@ -431635,7 +431635,7 @@ val writeFile: filename: string -> contents: string -> unit
431635431635
end = struct
431636431636
#1 "res_io.ml"
431637431637
let readFile ~filename =
431638-
let chan = open_in filename in
431638+
let chan = open_in_bin filename in
431639431639
let content =
431640431640
try really_input_string chan (in_channel_length chan)
431641431641
with End_of_file -> ""

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"postinstall": "node scripts/install.js",
1919
"coverage": "nyc --timeout=3000 --reporter=html mocha jscomp/test/*test.js && open ./coverage/index.html"
2020
},
21-
"name": "bs-platform",
21+
"name": "rescript",
2222
"version": "9.1.0",
2323
"description": "ReScript toolchain",
2424
"repository": {

syntax

0 commit comments

Comments
 (0)