5
5
fun f(x, b) =
6
6
if x ==
7
7
0 and b then 0
8
- //│ ╔══[ERROR] Missing the otherwise case of test b
8
+ //│ ╔══[ERROR] The case when this is false is not handled: b
9
9
//│ ║ l.7: 0 and b then 0
10
10
//│ ╙── ^
11
11
//│ f: (anything, anything,) -> error
@@ -17,7 +17,7 @@ fun f(x, b) =
17
17
if x == y +
18
18
5 then 0
19
19
7 then 0
20
- //│ ╔══[ERROR] Missing the otherwise case of test + (== (x,) (y,),) (7,)
20
+ //│ ╔══[ERROR] The case when this is false is not handled: + (== (x,) (y,),) (7,)
21
21
//│ ║ l.17: if x == y +
22
22
//│ ║ ^^^^^^^^
23
23
//│ ║ l.18: 5 then 0
@@ -33,7 +33,7 @@ if x == y +
33
33
if x == y *
34
34
5 then 0
35
35
6 + 7 then 0
36
- //│ ╔══[ERROR] Missing the otherwise case of test * (== (x,) (y,),) (+ (6,) (7,),)
36
+ //│ ╔══[ERROR] The case when this is false is not handled: * (== (x,) (y,),) (+ (6,) (7,),)
37
37
//│ ║ l.33: if x == y *
38
38
//│ ║ ^^^^^^^^
39
39
//│ ║ l.34: 5 then 0
@@ -50,7 +50,7 @@ if x ==
50
50
y +
51
51
5 then 0
52
52
7 then 0
53
- //│ ╔══[ERROR] Missing the otherwise case of test + (== (x,) (y,),) (7,)
53
+ //│ ╔══[ERROR] The case when this is false is not handled: + (== (x,) (y,),) (7,)
54
54
//│ ║ l.49: if x ==
55
55
//│ ║ ^^^^
56
56
//│ ║ l.50: y +
@@ -67,7 +67,7 @@ if x ==
67
67
:ge
68
68
if x ==
69
69
1 and b then 0
70
- //│ ╔══[ERROR] Missing the otherwise case of test b
70
+ //│ ╔══[ERROR] The case when this is false is not handled: b
71
71
//│ ║ l.69: 1 and b then 0
72
72
//│ ╙── ^
73
73
//│ res: error
@@ -81,7 +81,7 @@ fun toEnglish(x) =
81
81
if x ==
82
82
true then "t"
83
83
0 then "z"
84
- //│ ╔══[ERROR] Missing the otherwise case of test == (x,) (0,)
84
+ //│ ╔══[ERROR] The case when this is false is not handled: == (x,) (0,)
85
85
//│ ║ l.81: if x ==
86
86
//│ ║ ^^^^
87
87
//│ ║ l.82: true then "t"
@@ -98,7 +98,7 @@ fun toEnglish(x) =
98
98
if x ==
99
99
0 then "z"
100
100
true then "t"
101
- //│ ╔══[ERROR] Missing the otherwise case of test == (x,) (true,)
101
+ //│ ╔══[ERROR] The case when this is false is not handled: == (x,) (true,)
102
102
//│ ║ l.98: if x ==
103
103
//│ ║ ^^^^
104
104
//│ ║ l.99: 0 then "z"
@@ -115,7 +115,7 @@ fun toEnglish(x) =
115
115
if x ==
116
116
1 then "o"
117
117
0 then "z"
118
- //│ ╔══[ERROR] Missing the otherwise case of test == (x,) (0,)
118
+ //│ ╔══[ERROR] The case when this is false is not handled: == (x,) (0,)
119
119
//│ ║ l.115: if x ==
120
120
//│ ║ ^^^^
121
121
//│ ║ l.116: 1 then "o"
@@ -153,7 +153,7 @@ fun toEnglish(x) =
153
153
//│ ╟── Note: 'if' expression started here:
154
154
//│ ║ l.140: if x ==
155
155
//│ ╙── ^^
156
- //│ ╔══[ERROR] Missing the otherwise case of test == (x,) (undefined,)
156
+ //│ ╔══[ERROR] The case when this is false is not handled: == (x,) (undefined,)
157
157
//│ ║ l.140: if x ==
158
158
//│ ║ ^^^^
159
159
//│ ║ l.141: else 1
0 commit comments