Commit bcd9836
committed
Turn optimisations for tests on again.
It turns out that when we restrict DropGoodCasts to
isInstanceOf tests (as opposed to pattern-matcher generated
type tests), we do not miss any error messages. Some warnings
are still be omitted under optimize, not sure whether we want
to fix that.1 parent 40910d8 commit bcd9836
File tree
2 files changed
+2
-2
lines changed- compiler
- src/dotty/tools/dotc/typer
- test/dotty/tools/vulpix
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments