Commit 27f2a1a
committed
Refactor handling of rechecked types
- Always store new types on rechecking
- Store them in a hashmap which is associated with the rechecker of the
current compilation unit
- After rechecking is done, the map is forgotten, unless keepTypes is true.
Under keepTypes, then map is kept in an attachment of the unit's root tree.
Change in nomenclature:
knownType --> nuType
rememberType --> setNuType
hasRememberedType --> hasNuType1 parent ec26caa commit 27f2a1a
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
| 431 | + | |
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
437 | | - | |
| 437 | + | |
| 438 | + | |
438 | 439 | | |
439 | 440 | | |
440 | 441 | | |
| |||
0 commit comments