Commit c3be42e
committed
Change treatment of signatures in TermRefs
- don't compute members when unpickling termrefs, it caused
cyclic reference errors on tasty-bootstrap.
- to make this robust, have currentSignature in TermRef return
a NotAMethof if not symbol or denotation is known.1 parent 49b78c3 commit c3be42e
File tree
2 files changed
+12
-14
lines changed- compiler/src/dotty/tools/dotc/core
- tasty
2 files changed
+12
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1535 | 1535 | | |
1536 | 1536 | | |
1537 | 1537 | | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
1538 | 1542 | | |
1539 | 1543 | | |
1540 | 1544 | | |
| |||
1543 | 1547 | | |
1544 | 1548 | | |
1545 | 1549 | | |
1546 | | - | |
| 1550 | + | |
1547 | 1551 | | |
1548 | 1552 | | |
1549 | 1553 | | |
| |||
Lines changed: 7 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
| 299 | + | |
304 | 300 | | |
305 | 301 | | |
306 | 302 | | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
315 | 309 | | |
316 | 310 | | |
317 | 311 | | |
| |||
0 commit comments