Skip to content

Commit 48f23dd

Browse files
committed
remove principal
1 parent 66ba224 commit 48f23dd

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

jscomp/main/rescript_compiler_main.ml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,9 +448,6 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array =
448448
"-nolabels", set Clflags.classic,
449449
"*internal* Ignore non-optional labels in types";
450450

451-
"-principal", set Clflags.principal,
452-
"*internal* Check principality of type inference";
453-
454451
"-short-paths", clear Clflags.real_paths,
455452
"*internal* Shorten paths in types";
456453

scripts/buckle_lto.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ var pairs = [
1313
["Clflags.strict_sequence", "true"],
1414
["Clflags.strict_formats", "true"],
1515
["Clflags.compile_only", "true"],
16-
["Clflags.recursive_types","false"]
16+
["Clflags.recursive_types","false"],
17+
["Clflags.principal","false"]
1718
];
1819

1920
var regexp = RegExp(

0 commit comments

Comments
 (0)