Commit b95c66e
committed
Avoid spurious type test warning
This warning should trigger only for explicitly written type tests,
never for type tests coming from a match.
So far we did not notice this, since it triggered only for types that are
known to be null, and there are very few of those so far (basically,
just the primitive value types) and those types did not tend to be
tested irrefutably in patterns.1 parent e127bb4 commit b95c66e
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
| 218 | + | |
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| |||
0 commit comments