Skip to content

Commit 967cc75

Browse files
committed
tweak
1 parent cd55a1a commit 967cc75

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

jscomp/core/js_dump.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ and statement_desc top cxt f (s : J.statement_desc) : cxt =
10531053
P.string f s;
10541054
| None -> ());
10551055
cxt
1056-
1056+
| Str _ -> cxt
10571057
| _ ->
10581058
let cxt =
10591059
(

jscomp/test/gpr_3980_test.js

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ if (match !== undefined) {
2929
Error: new Error()
3030
};
3131
}
32-
"bye";
3332
Js_math.floor(1);
3433
}
3534

lib/4.06.1/unstable/js_compiler.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -88847,7 +88847,7 @@ and statement_desc top cxt f (s : J.statement_desc) : cxt =
8884788847
P.string f s;
8884888848
| None -> ());
8884988849
cxt
88850-
88850+
| Str _ -> cxt
8885188851
| _ ->
8885288852
let cxt =
8885388853
(

lib/4.06.1/unstable/js_refmt_compiler.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -88847,7 +88847,7 @@ and statement_desc top cxt f (s : J.statement_desc) : cxt =
8884788847
P.string f s;
8884888848
| None -> ());
8884988849
cxt
88850-
88850+
| Str _ -> cxt
8885188851
| _ ->
8885288852
let cxt =
8885388853
(

lib/4.06.1/whole_compiler.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -382208,7 +382208,7 @@ and statement_desc top cxt f (s : J.statement_desc) : cxt =
382208382208
P.string f s;
382209382209
| None -> ());
382210382210
cxt
382211-
382211+
| Str _ -> cxt
382212382212
| _ ->
382213382213
let cxt =
382214382214
(

0 commit comments

Comments
 (0)