Commit 38eccba
feat(29624): better errors for non-exported types (microsoft#36187)
1 parent 342f4c0 commit 38eccbaCopy full SHA for 38eccba
13 files changed
+175-6Lines changed: 175 additions & 6 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/compiler
- tests
- baselines/reference
- cases/compiler
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+23-2Lines changed: 23 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2355 | 2355 | |
2356 | 2356 | |
2357 | 2357 | |
2358 | | - |
| 2358 | + |
2359 | 2359 | |
2360 | 2360 | |
2361 | 2361 | |
| ||
2364 | 2364 | |
2365 | 2365 | |
2366 | 2366 | |
2367 | | - |
| 2367 | + |
2368 | 2368 | |
2369 | 2369 | |
2370 | 2370 | |
| ||
2373 | 2373 | |
2374 | 2374 | |
2375 | 2375 | |
| 2376 | + |
| 2377 | + |
| 2378 | + |
| 2379 | + |
| 2380 | + |
| 2381 | + |
| 2382 | + |
| 2383 | + |
| 2384 | + |
| 2385 | + |
| 2386 | + |
| 2387 | + |
| 2388 | + |
| 2389 | + |
| 2390 | + |
| 2391 | + |
| 2392 | + |
| 2393 | + |
| 2394 | + |
| 2395 | + |
| 2396 | + |
2376 | 2397 | |
2377 | 2398 | |
2378 | 2399 | |
|
Collapse file
src/compiler/diagnosticMessages.json
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json+8Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1764 | 1764 | |
1765 | 1765 | |
1766 | 1766 | |
| 1767 | + |
| 1768 | + |
| 1769 | + |
| 1770 | + |
| 1771 | + |
| 1772 | + |
| 1773 | + |
| 1774 | + |
1767 | 1775 | |
1768 | 1776 | |
1769 | 1777 | |
|
Collapse file
tests/baselines/reference/es6ImportNamedImportNoNamedExports.errors.txt
Copy file name to clipboard+6-4Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
2 | | - |
| 1 | + |
| 2 | + |
3 | 3 | |
4 | 4 | |
5 | 5 | |
| ||
9 | 9 | |
10 | 10 | |
11 | 11 | |
12 | | - |
| 12 | + |
| 13 | + |
13 | 14 | |
14 | 15 | |
15 | | - |
| 16 | + |
| 17 | + |
Collapse file
tests/baselines/reference/importNonExportedMember.errors.txt
Copy file name to clipboard+14Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
Collapse file
tests/baselines/reference/importNonExportedMember.js
Copy file name to clipboard+17Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
Collapse file
tests/baselines/reference/importNonExportedMember.symbols
Copy file name to clipboard+17Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
Collapse file
tests/baselines/reference/importNonExportedMember.types
Copy file name to clipboard+17Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
Collapse file
tests/baselines/reference/importNonExportedMember1.errors.txt
Copy file name to clipboard+14Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
Collapse file
tests/baselines/reference/importNonExportedMember1.js
Copy file name to clipboard+17Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
Collapse file
tests/baselines/reference/importNonExportedMember1.symbols
Copy file name to clipboard+14Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
0 commit comments