Commit 8b35c13
The error "Object is possibly null or undefined" is ambiguous. (#49797)
* added object name to TS2571, 2531, 2532 and 2533
* updated localized diagnostic messages
* updated baseline to fit diagnostic message change
* Revert "updated localized diagnostic messages"
This reverts commit 738cf09.
* specialized the error to EntityNameExpression
* updated baseline to fit new changes
* added multiline undefined access test
* added TS18049 - value cannot be used here
* adjusted baseline
* corrected a small linting issue
* Update error numbers after merge from main
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>1 parent a3f51b3 commit 8b35c13
71 files changed
Lines changed: 1793 additions & 1622 deletions
File tree
- src/compiler
- tests
- baselines/reference
- cases/conformance/pedantic
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29172 | 29172 | | |
29173 | 29173 | | |
29174 | 29174 | | |
29175 | | - | |
29176 | | - | |
29177 | | - | |
29178 | | - | |
29179 | | - | |
| 29175 | + | |
| 29176 | + | |
| 29177 | + | |
| 29178 | + | |
| 29179 | + | |
| 29180 | + | |
| 29181 | + | |
| 29182 | + | |
| 29183 | + | |
| 29184 | + | |
| 29185 | + | |
| 29186 | + | |
| 29187 | + | |
| 29188 | + | |
| 29189 | + | |
| 29190 | + | |
| 29191 | + | |
| 29192 | + | |
| 29193 | + | |
| 29194 | + | |
| 29195 | + | |
| 29196 | + | |
| 29197 | + | |
| 29198 | + | |
29180 | 29199 | | |
29181 | 29200 | | |
29182 | 29201 | | |
| |||
29193 | 29212 | | |
29194 | 29213 | | |
29195 | 29214 | | |
| 29215 | + | |
| 29216 | + | |
| 29217 | + | |
| 29218 | + | |
| 29219 | + | |
| 29220 | + | |
| 29221 | + | |
29196 | 29222 | | |
29197 | 29223 | | |
29198 | 29224 | | |
| |||
29212 | 29238 | | |
29213 | 29239 | | |
29214 | 29240 | | |
| 29241 | + | |
| 29242 | + | |
| 29243 | + | |
| 29244 | + | |
| 29245 | + | |
| 29246 | + | |
| 29247 | + | |
| 29248 | + | |
| 29249 | + | |
| 29250 | + | |
| 29251 | + | |
29215 | 29252 | | |
29216 | 29253 | | |
29217 | 29254 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7497 | 7497 | | |
7498 | 7498 | | |
7499 | 7499 | | |
| 7500 | + | |
| 7501 | + | |
| 7502 | + | |
| 7503 | + | |
| 7504 | + | |
| 7505 | + | |
| 7506 | + | |
| 7507 | + | |
| 7508 | + | |
| 7509 | + | |
| 7510 | + | |
| 7511 | + | |
| 7512 | + | |
| 7513 | + | |
| 7514 | + | |
| 7515 | + | |
| 7516 | + | |
| 7517 | + | |
| 7518 | + | |
| 7519 | + | |
7500 | 7520 | | |
7501 | 7521 | | |
Lines changed: 240 additions & 240 deletions
Large diffs are not rendered by default.
Lines changed: 160 additions & 160 deletions
Large diffs are not rendered by default.
Lines changed: 160 additions & 160 deletions
Large diffs are not rendered by default.
Lines changed: 240 additions & 240 deletions
Large diffs are not rendered by default.
Lines changed: 160 additions & 160 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
0 commit comments