We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e23273 commit a2f66e6Copy full SHA for a2f66e6
jscomp/test/gpr_5557.js
@@ -2,7 +2,18 @@
2
3
4
function isA(c) {
5
- return true;
+ if (c === 97) {
6
+ return true;
7
+ }
8
+ throw {
9
+ RE_EXN_ID: "Match_failure",
10
+ _1: [
11
+ "gpr_5557.res",
12
+ 5,
13
+ 2
14
+ ],
15
+ Error: new Error()
16
+ };
17
}
18
19
var h = /* 'a' */97;
jscomp/test/gpr_5557.res
@@ -1,3 +1,6 @@
1
+@@config({
+ flags : ["-w", "-8"]
+})
let isA = c =>
switch c {
| 'a' => true
0 commit comments