You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: jscomp/bin/all_ounit_tests.ml
+19-19Lines changed: 19 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -13593,8 +13593,8 @@ let suites =
13593
13593
end;
13594
13594
]
13595
13595
end
13596
-
module Ext_package_name : sig
13597
-
#1 "ext_package_name.mli"
13596
+
module Ext_namespace : sig
13597
+
#1 "ext_namespace.mli"
13598
13598
(* Copyright (C) 2017- Authors of BuckleScript
13599
13599
*
13600
13600
* This program is free software: you can redistribute it and/or modify
@@ -13620,9 +13620,9 @@ module Ext_package_name : sig
13620
13620
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
13621
13621
13622
13622
13623
-
val make : pkg:string -> string -> string
13623
+
val make : ns:string -> string -> string
13624
13624
13625
-
val remove_package_suffix: string -> string
13625
+
val remove_ns_suffix: string -> string
13626
13626
13627
13627
(* Note we have to output uncapitalized file Name,
13628
13628
or at least be consistent, since by reading cmi file on Case insensitive OS, we don't really know it is `list.cmi` or `List.cmi`, so that `require (./list.js)` or `require(./List.js)`
@@ -13633,7 +13633,7 @@ val js_name_of_basename : string -> string
13633
13633
val namespace_of_package_name : string -> string
13634
13634
13635
13635
end = struct
13636
-
#1 "ext_package_name.ml"
13636
+
#1 "ext_namespace.ml"
13637
13637
13638
13638
(* Copyright (C) 2015-2016 Bloomberg Finance L.P.
13639
13639
*
@@ -13663,25 +13663,25 @@ end = struct
13663
13663
(* Note the build system should check the validity of filenames
13664
13664
espeically, it should not contain '-'
13665
13665
*)
13666
-
let package_sep_char = '-'
13667
-
let package_sep = "-"
13666
+
let ns_sep_char = '-'
13667
+
let ns_sep = "-"
13668
13668
13669
-
let make ~pkg cunit =
13670
-
cunit ^ package_sep ^ pkg
13669
+
let make ~ns cunit =
13670
+
cunit ^ ns_sep ^ ns
13671
13671
13672
13672
13673
13673
let rec rindex_rec s i c =
13674
13674
if i < 0 then i else
13675
13675
if String.unsafe_get s i = c then i else rindex_rec s (i - 1) c;;
13676
13676
13677
-
let remove_package_suffix name =
13678
-
let i = rindex_rec name (String.length name - 1) package_sep_char in
13677
+
let remove_ns_suffix name =
13678
+
let i = rindex_rec name (String.length name - 1) ns_sep_char in
Copy file name to clipboardExpand all lines: jscomp/bin/bsb.ml
+50-50Lines changed: 50 additions & 50 deletions
Original file line number
Diff line number
Diff line change
@@ -136,9 +136,9 @@ end = struct
136
136
* You should have received a copy of the GNU Lesser General Public License
137
137
* along with this program; if not, write to the Free Software
138
138
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
139
-
let version ="1.8.3"
139
+
let version ="1.9.0"
140
140
let header =
141
-
"// Generated by BUCKLESCRIPT VERSION 1.8.3, PLEASE EDIT WITH CARE"
141
+
"// Generated by BUCKLESCRIPT VERSION 1.9.0, PLEASE EDIT WITH CARE"
142
142
let package_name ="bs-platform"
143
143
144
144
end
@@ -7394,8 +7394,8 @@ let store ~cwd ~file:name file_stamps =
7394
7394
bsc_version =Bs_version.version }
7395
7395
7396
7396
end
7397
-
moduleExt_package_name : sig
7398
-
#1"ext_package_name.mli"
7397
+
moduleExt_namespace : sig
7398
+
#1"ext_namespace.mli"
7399
7399
(* Copyright (C) 2017- Authors of BuckleScript
7400
7400
*
7401
7401
* This program is free software: you can redistribute it and/or modify
@@ -7421,9 +7421,9 @@ module Ext_package_name : sig
7421
7421
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
7422
7422
7423
7423
7424
-
valmake : pkg:string-> string -> string
7424
+
valmake : ns:string-> string -> string
7425
7425
7426
-
valremove_package_suffix: string -> string
7426
+
valremove_ns_suffix: string -> string
7427
7427
7428
7428
(* Note we have to output uncapitalized file Name,
7429
7429
or at least be consistent, since by reading cmi file on Case insensitive OS, we don't really know it is `list.cmi` or `List.cmi`, so that `require (./list.js)` or `require(./List.js)`
@@ -7434,7 +7434,7 @@ val js_name_of_basename : string -> string
7434
7434
valnamespace_of_package_name : string -> string
7435
7435
7436
7436
end=struct
7437
-
#1"ext_package_name.ml"
7437
+
#1"ext_namespace.ml"
7438
7438
7439
7439
(* Copyright (C) 2015-2016 Bloomberg Finance L.P.
7440
7440
*
@@ -7464,25 +7464,25 @@ end = struct
7464
7464
(* Note the build system should check the validity of filenames
7465
7465
espeically, it should not contain '-'
7466
7466
*)
7467
-
letpackage_sep_char='-'
7468
-
letpackage_sep="-"
7467
+
letns_sep_char='-'
7468
+
letns_sep="-"
7469
7469
7470
-
letmake~pkgcunit=
7471
-
cunit ^package_sep^pkg
7470
+
letmake~nscunit=
7471
+
cunit ^ns_sep^ns
7472
7472
7473
7473
7474
7474
letrec rindex_recsic=
7475
7475
if i <0then i else
7476
7476
ifString.unsafe_get s i = c then i else rindex_rec s (i -1) c;;
7477
7477
7478
-
letremove_package_suffixname=
7479
-
let i = rindex_rec name (String.length name -1) package_sep_charin
7478
+
letremove_ns_suffixname=
7479
+
let i = rindex_rec name (String.length name -1) ns_sep_charin
0 commit comments