Skip to content

Commit d924f63

Browse files
authored
Capitalize runtime filenames (#7110)
* Capitalize runtime filenames * CHANGELOG
1 parent b3ed5c8 commit d924f63

File tree

632 files changed

+1498
-1488
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

632 files changed

+1498
-1488
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
- Disable -bs-cross-module-opt for tests. https://github.com/rescript-lang/rescript-compiler/pull/7071
6060
- Move `ounit_tests` into the `tests` folder. https://github.com/rescript-lang/rescript-compiler/pull/7096
6161
- Move `syntax_tests` into the `tests` folder. https://github.com/rescript-lang/rescript-compiler/pull/7090 https://github.com/rescript-lang/rescript-compiler/pull/7097
62+
- Capitalize runtime filenames. https://github.com/rescript-lang/rescript-compiler/pull/7110
6263

6364
# 12.0.0-alpha.3
6465

compiler/core/js_name_of_module_id.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ let get_runtime_module_path
5959
module_system in
6060
let js_file =
6161
Ext_namespace.js_name_of_modulename dep_module_id.id.name
62-
Little Literals.suffix_js in
62+
Upper Literals.suffix_js in
6363
match current_info_query with
6464
| Package_not_found -> assert false
6565
| Package_script ->

lib/es6/array.js renamed to lib/es6/Array.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22

3-
import * as List from "./list.js";
4-
import * as Primitive_array from "./primitive_array.js";
5-
import * as Primitive_exceptions from "./primitive_exceptions.js";
3+
import * as List from "./List.js";
4+
import * as Primitive_array from "./Primitive_array.js";
5+
import * as Primitive_exceptions from "./Primitive_exceptions.js";
66

77
let init = ((length, f) => Array.from({ length }, f));
88

@@ -358,7 +358,7 @@ function sort(cmp, a) {
358358
throw {
359359
RE_EXN_ID: "Assert_failure",
360360
_1: [
361-
"array.res",
361+
"Array.res",
362362
294,
363363
4
364364
],
File renamed without changes.

lib/es6/belt_Array.js renamed to lib/es6/Belt_Array.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22

3-
import * as Primitive_int from "./primitive_int.js";
4-
import * as Primitive_option from "./primitive_option.js";
3+
import * as Primitive_int from "./Primitive_int.js";
4+
import * as Primitive_option from "./Primitive_option.js";
55

66
function get(arr, i) {
77
if (i >= 0 && i < arr.length) {
@@ -15,7 +15,7 @@ function getExn(arr, i) {
1515
throw {
1616
RE_EXN_ID: "Assert_failure",
1717
_1: [
18-
"belt_Array.res",
18+
"Belt_Array.res",
1919
36,
2020
2
2121
],
@@ -39,7 +39,7 @@ function setExn(arr, i, v) {
3939
throw {
4040
RE_EXN_ID: "Assert_failure",
4141
_1: [
42-
"belt_Array.res",
42+
"Belt_Array.res",
4343
49,
4444
2
4545
],
File renamed without changes.

lib/es6/belt_HashMap.js renamed to lib/es6/Belt_HashMap.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22

3-
import * as Primitive_option from "./primitive_option.js";
4-
import * as Belt_internalBuckets from "./belt_internalBuckets.js";
5-
import * as Belt_internalBucketsType from "./belt_internalBucketsType.js";
3+
import * as Primitive_option from "./Primitive_option.js";
4+
import * as Belt_internalBuckets from "./Belt_internalBuckets.js";
5+
import * as Belt_internalBucketsType from "./Belt_internalBucketsType.js";
66

77
function size(h) {
88
return h.size;

lib/es6/belt_HashMapInt.js renamed to lib/es6/Belt_HashMapInt.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
import * as Primitive_hash from "./primitive_hash.js";
4-
import * as Primitive_option from "./primitive_option.js";
5-
import * as Belt_internalBuckets from "./belt_internalBuckets.js";
6-
import * as Belt_internalBucketsType from "./belt_internalBucketsType.js";
3+
import * as Primitive_hash from "./Primitive_hash.js";
4+
import * as Primitive_option from "./Primitive_option.js";
5+
import * as Belt_internalBuckets from "./Belt_internalBuckets.js";
6+
import * as Belt_internalBucketsType from "./Belt_internalBucketsType.js";
77

88
function copyBucketReHash(h_buckets, ndata_tail, _old_bucket) {
99
while (true) {

lib/es6/belt_HashMapString.js renamed to lib/es6/Belt_HashMapString.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
import * as Primitive_hash from "./primitive_hash.js";
4-
import * as Primitive_option from "./primitive_option.js";
5-
import * as Belt_internalBuckets from "./belt_internalBuckets.js";
6-
import * as Belt_internalBucketsType from "./belt_internalBucketsType.js";
3+
import * as Primitive_hash from "./Primitive_hash.js";
4+
import * as Primitive_option from "./Primitive_option.js";
5+
import * as Belt_internalBuckets from "./Belt_internalBuckets.js";
6+
import * as Belt_internalBucketsType from "./Belt_internalBucketsType.js";
77

88
function copyBucketReHash(h_buckets, ndata_tail, _old_bucket) {
99
while (true) {

lib/es6/belt_HashSet.js renamed to lib/es6/Belt_HashSet.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22

3-
import * as Belt_internalSetBuckets from "./belt_internalSetBuckets.js";
4-
import * as Belt_internalBucketsType from "./belt_internalBucketsType.js";
3+
import * as Belt_internalSetBuckets from "./Belt_internalSetBuckets.js";
4+
import * as Belt_internalBucketsType from "./Belt_internalBucketsType.js";
55

66
function copyBucket(hash, h_buckets, ndata_tail, _old_bucket) {
77
while (true) {

0 commit comments

Comments
 (0)