File tree Expand file tree Collapse file tree 4 files changed +7
-9
lines changed Expand file tree Collapse file tree 4 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -381,7 +381,7 @@ let dec_of_pos_int64 x =
381
381
382
382
383
383
(if x < 0L then
384
- let s = ref " " in
384
+
385
385
let wbase = 10L in
386
386
let cvtbl = " 0123456789" in
387
387
let y = Caml_int64. discard_sign x in
@@ -401,9 +401,9 @@ let dec_of_pos_int64 x =
401
401
ref (Caml_int64_extern. add (Caml_int64_extern. add quotient_l c )
402
402
e) in
403
403
let modulus = ref f in
404
- s .contents < -
405
- Caml_string_extern. get_string_unsafe
406
- cvtbl (Caml_int64_extern. to_int modulus.contents) ^ s.contents ;
404
+ let s = ref
405
+ ( Caml_string_extern. get_string_unsafe
406
+ cvtbl (Caml_int64_extern. to_int modulus.contents)) in
407
407
408
408
while quotient.contents <> 0L do
409
409
let a, b = Caml_int64. div_mod (quotient.contents) wbase in
Original file line number Diff line number Diff line change @@ -581,7 +581,6 @@ function dec_of_pos_int64(x) {
581
581
/* hi */ 0 ,
582
582
/* lo */ 0
583
583
] ) ) {
584
- var s = "" ;
585
584
var wbase = /* int64 */ [
586
585
/* hi */ 0 ,
587
586
/* lo */ 10
@@ -598,7 +597,7 @@ function dec_of_pos_int64(x) {
598
597
/* lo */ 3435973836
599
598
] , match [ 0 ] ) , match$1 [ 0 ] ) ;
600
599
var modulus = match$1 [ 1 ] ;
601
- s = cvtbl [ Caml_int64 . to_int32 ( modulus ) ] + s ;
600
+ var s = cvtbl [ Caml_int64 . to_int32 ( modulus ) ] ;
602
601
while ( Caml_int64 . neq ( quotient , /* int64 */ [
603
602
/* hi */ 0 ,
604
603
/* lo */ 0
Original file line number Diff line number Diff line change @@ -581,7 +581,6 @@ function dec_of_pos_int64(x) {
581
581
/* hi */ 0 ,
582
582
/* lo */ 0
583
583
] ) ) {
584
- var s = "" ;
585
584
var wbase = /* int64 */ [
586
585
/* hi */ 0 ,
587
586
/* lo */ 10
@@ -598,7 +597,7 @@ function dec_of_pos_int64(x) {
598
597
/* lo */ 3435973836
599
598
] , match [ 0 ] ) , match$1 [ 0 ] ) ;
600
599
var modulus = match$1 [ 1 ] ;
601
- s = cvtbl [ Caml_int64 . to_int32 ( modulus ) ] + s ;
600
+ var s = cvtbl [ Caml_int64 . to_int32 ( modulus ) ] ;
602
601
while ( Caml_int64 . neq ( quotient , /* int64 */ [
603
602
/* hi */ 0 ,
604
603
/* lo */ 0
Original file line number Diff line number Diff line change 15
15
"test-bsb" : " node scripts/ciTest.js -bsb" ,
16
16
"test-ocaml" : " node scripts/ciTest.js -ounit" ,
17
17
"postinstall" : " node scripts/install.js" ,
18
- "coverage" : " nyc --timeout=3000 --report =html mocha jscomp/test/*test.js && open ./coverage/index.html"
18
+ "coverage" : " nyc --timeout=3000 --reporter =html mocha jscomp/test/*test.js && open ./coverage/index.html"
19
19
},
20
20
"name" : " bs-platform" ,
21
21
"version" : " 7.3.0-dev.1" ,
You can’t perform that action at this time.
0 commit comments