File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 26
26
},
27
27
"isBackground" : true ,
28
28
"problemMatcher" : {
29
- "fileLocation" :[" relative " ," ${workspaceRoot}/jscomp" ],
29
+ "fileLocation" :[" autodetect " ," ${workspaceRoot}/jscomp" ],
30
30
"owner" : " ocaml" ,
31
31
"background" : {
32
32
"activeOnStart" : false ,
Original file line number Diff line number Diff line change @@ -72,15 +72,15 @@ let parse_sign_and_base (s : string) =
72
72
let sign = ref 1 in
73
73
let base = ref Dec in
74
74
let i = ref 0 in
75
- (match s.[ i.contents] with
75
+ (match s.! ( i.contents) with
76
76
| '-' ->
77
77
sign .contents< - - 1 ;
78
78
i.contents < - i.contents + 1
79
79
| '+' ->
80
80
i.contents < - i.contents + 1
81
81
| _ -> () );
82
- if s.[ i.contents] = '0' then
83
- (match s.[ i.contents + 1 ] with
82
+ if s.! ( i.contents) = '0' then
83
+ (match s.! ( i.contents + 1 ) with
84
84
| ('x' | 'X' )
85
85
-> base .contents< - Hex ; i.contents< - i.contents + 2
86
86
| ( 'o' | 'O' )
Original file line number Diff line number Diff line change 1
1
2
- bsc_flags = -absname - bs-no-version-header -bs-cross-module-opt -bs-package-name bs-platform -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
2
+ bsc_flags = -bs-no-version-header -bs-cross-module-opt -bs-package-name bs-platform -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
3
3
4
4
rule cc
5
5
command = $bsc -bs-cmi -bs-cmj $bsc_flags -I test $in
Original file line number Diff line number Diff line change @@ -1222,7 +1222,7 @@ async function testNinja() {
1222
1222
var ninjaOutput = "build.ninja" ;
1223
1223
var ninjaCwd = `test` ;
1224
1224
var templateTestRules = `
1225
- bsc_flags = -absname - bs-no-version-header -bs-cross-module-opt -bs-package-name bs-platform -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
1225
+ bsc_flags = -bs-no-version-header -bs-cross-module-opt -bs-package-name bs-platform -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
1226
1226
${ ruleCC ( ninjaCwd ) }
1227
1227
1228
1228
You can’t perform that action at this time.
0 commit comments