@@ -782,7 +782,7 @@ async function runtimeNinja(devmode = true) {
782
782
var externalDeps = devmode ? [ compilerTarget ] : [ ] ;
783
783
var ninjaOutput = devmode ? "build.ninja" : "release.ninja" ;
784
784
var templateRuntimeRules = `
785
- bsc_no_open_flags = ${ commonBsFlags } -bs-cross-module-opt -make-runtime -nopervasives -unsafe -w +50 -warn-error A -curried
785
+ bsc_no_open_flags = ${ commonBsFlags } -bs-cross-module-opt -make-runtime -nopervasives -unsafe -w +50 -warn-error A -uncurried
786
786
bsc_flags = $bsc_no_open_flags -open Bs_stdlib_mini
787
787
${ ruleCC ( ninjaCwd ) }
788
788
${ ninjaQuickBuildList ( [
@@ -791,7 +791,7 @@ ${ninjaQuickBuildList([
791
791
"bs_stdlib_mini.resi" ,
792
792
"cc" ,
793
793
ninjaCwd ,
794
- [ [ "bsc_flags" , "-nostdlib -nopervasives -curried " ] ] ,
794
+ [ [ "bsc_flags" , "-nostdlib -nopervasives -uncurried " ] ] ,
795
795
[ ] ,
796
796
externalDeps ,
797
797
] ,
@@ -863,7 +863,7 @@ async function othersNinja(devmode = true) {
863
863
var ninjaCwd = "others" ;
864
864
865
865
var templateOthersRules = `
866
- bsc_primitive_flags = ${ commonBsFlags } -bs-cross-module-opt -make-runtime -nopervasives -unsafe -w +50 -warn-error A -curried
866
+ bsc_primitive_flags = ${ commonBsFlags } -bs-cross-module-opt -make-runtime -nopervasives -unsafe -w +50 -warn-error A -uncurried
867
867
bsc_flags = $bsc_primitive_flags -open Belt_internals
868
868
${ ruleCC ( ninjaCwd ) }
869
869
${ ninjaQuickBuildList ( [
@@ -966,13 +966,13 @@ async function stdlibNinja(devmode = true) {
966
966
* @type [string,string][]
967
967
*/
968
968
var bsc_builtin_overrides = [
969
- [ bsc_flags , `$${ bsc_flags } -nopervasives -curried ` ] ,
969
+ [ bsc_flags , `$${ bsc_flags } -nopervasives -uncurried ` ] ,
970
970
] ;
971
971
// It is interesting `-w -a` would generate not great code sometimes
972
972
// deprecations diabled due to string_of_float
973
973
var warnings = "-w -9-3-106 -warn-error A" ;
974
974
var templateStdlibRules = `
975
- ${ bsc_flags } = ${ commonBsFlags } -bs-cross-module-opt -make-runtime ${ warnings } -I others -curried
975
+ ${ bsc_flags } = ${ commonBsFlags } -bs-cross-module-opt -make-runtime ${ warnings } -I others -uncurried
976
976
${ ruleCC ( ninjaCwd ) }
977
977
${ ninjaQuickBuildList ( [
978
978
// we make it still depends on external
@@ -1104,7 +1104,7 @@ async function testNinja() {
1104
1104
var ninjaOutput = "build.ninja" ;
1105
1105
var ninjaCwd = `test` ;
1106
1106
var templateTestRules = `
1107
- bsc_flags = -bs-cross-module-opt -make-runtime-test -bs-package-output commonjs:jscomp/test -w -3-6-26-27-29-30-32..40-44-45-52-60-9-106+104 -warn-error A -I runtime -I $stdlib -I others -curried
1107
+ bsc_flags = -bs-cross-module-opt -make-runtime-test -bs-package-output commonjs:jscomp/test -w -3-6-26-27-29-30-32..40-44-45-52-60-9-106+104 -warn-error A -I runtime -I $stdlib -I others -uncurried
1108
1108
${ ruleCC ( ninjaCwd ) }
1109
1109
` ;
1110
1110
var testDirFiles = fs . readdirSync ( testDir , "ascii" ) ;
0 commit comments