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 1031c5f commit b074401Copy full SHA for b074401
jscomp/build_tests/super_errors/fixtures/warnings5.res
@@ -33,15 +33,27 @@ switch arr {
33
let lst = list{}
34
35
switch lst {
36
- | list{} => ()
+| list{} => ()
37
}
38
39
40
- | list{1,2} => ()
+| list{1, 2} => ()
41
42
43
44
- | list{1} => ()
+| list{1} => ()
45
46
47
+switch "abc" {
48
+| "" => ()
49
+}
50
+
51
+switch 0 {
52
+| 1 => ()
53
54
55
+let tuple = (1, true)
56
57
+switch tuple {
58
+| (_, false) => ()
59
0 commit comments