Commit d2b7080
committed
Avoid returning stale symbols from NamedType#symbol
There's a scenario where a NamedType is created with an initial symbol
but no denotation yet. If the denotation of that NamedType is first
computed in a subsequent run, the initially given symbol might be stale,
so the symbol should be recomputed from the denotation.1 parent 22440f3 commit d2b7080
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1737 | 1737 | | |
1738 | 1738 | | |
1739 | 1739 | | |
1740 | | - | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
1741 | 1743 | | |
1742 | 1744 | | |
1743 | 1745 | | |
| |||
0 commit comments