Commit c64e676
committed
isStableMember classified NoSymbol as stable. This meant that
an Application without a symbol was classified as pure in TreeInfo.
This in turn meant that the application could be dropped and replaced
with `Unit` at the end of a block. The (non-)pure application in
the test was an array update.
1 parent 54ab00e commit c64e676
File tree
2 files changed
+11
-1
lines changed- compiler/src/dotty/tools/dotc/core
- tests/run
2 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
727 | 727 | | |
728 | 728 | | |
729 | 729 | | |
730 | | - | |
| 730 | + | |
731 | 731 | | |
732 | 732 | | |
733 | 733 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments