Repository navigation
Commit 7eda73a
committed
Remove the TypeChecked node flag
Its last use was in reportNonexistentProperty, which kept both a set of
(name, containing type, JS) keys and the flag on the name's node. The
flag already stopped a second report for the node on any containing
type, so the keyed set never caught anything the flag did not.
Keep a single set of reported name nodes instead. Reports only run
while checking, so this stays checking-only state, as the keyed set was.1 parent e2138e8 commit 7eda73a
3 files changed
Lines changed: 6 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | 266 | | |
275 | 267 | | |
276 | 268 | | |
| |||
1025 | 1017 | | |
1026 | 1018 | | |
1027 | 1019 | | |
1028 | | - | |
| 1020 | + | |
1029 | 1021 | | |
1030 | 1022 | | |
1031 | 1023 | | |
| |||
12141 | 12133 | | |
12142 | 12134 | | |
12143 | 12135 | | |
12144 | | - | |
12145 | | - | |
| 12136 | + | |
| 12137 | + | |
| 12138 | + | |
12146 | 12139 | | |
12147 | 12140 | | |
12148 | | - | |
12149 | | - | |
12150 | | - | |
12151 | | - | |
12152 | | - | |
12153 | | - | |
| 12141 | + | |
12154 | 12142 | | |
12155 | 12143 | | |
12156 | 12144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
592 | 592 | | |
593 | 593 | | |
594 | 594 | | |
595 | | - | |
| 595 | + | |
596 | 596 | | |
597 | 597 | | |
598 | 598 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
419 | 418 | | |
420 | 419 | | |
421 | 420 | | |
| |||
0 commit comments