Commit 7ada264
committed
Fix #5333: Invalid entries in the baseType cache
Provisional types should not have their baseType cached, it may change
as type variables get refined and instantiated.
The seqtype-cycle test had to be adjusted to avoid some missing
reference errors, probably due to the completion order changing.1 parent 0fcbfdb commit 7ada264
File tree
2 files changed
+6
-3
lines changed- compiler/src/dotty/tools/dotc/core
- tests/pos/seqtype-cycle
2 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1631 | 1631 | | |
1632 | 1632 | | |
1633 | 1633 | | |
1634 | | - | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
1635 | 1638 | | |
1636 | 1639 | | |
1637 | 1640 | | |
| |||
1717 | 1720 | | |
1718 | 1721 | | |
1719 | 1722 | | |
1720 | | - | |
1721 | | - | |
1722 | 1723 | | |
1723 | 1724 | | |
1724 | 1725 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
0 commit comments