Commit fe9f424
committed
Handle error when type parameter of mapped type uses private type
Fixes microsoft#302011 parent d2364f5 commit fe9f424Copy full SHA for fe9f424
7 files changed
+77Lines changed: 77 additions & 0 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/compiler
- transformers/declarations
- tests
- baselines/reference
- cases/compiler
Expand file treeCollapse file tree
Open diff view settings
Collapse file
src/compiler/diagnosticMessages.json
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2927 | 2927 | |
2928 | 2928 | |
2929 | 2929 | |
| 2930 | + |
| 2931 | + |
| 2932 | + |
| 2933 | + |
2930 | 2934 | |
2931 | 2935 | |
2932 | 2936 | |
|
Collapse file
src/compiler/transformers/declarations/diagnostics.ts
Copy file name to clipboardExpand all lines: src/compiler/transformers/declarations/diagnostics.ts+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
391 | 391 | |
392 | 392 | |
393 | 393 | |
| 394 | + |
| 395 | + |
| 396 | + |
| 397 | + |
394 | 398 | |
395 | 399 | |
396 | 400 | |
|
Collapse file
tests/baselines/reference/declarationEmitMappedPrivateTypeTypeParameter.errors.txt
Copy file name to clipboard+15Lines changed: 15 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 | + |
Collapse file
tests/baselines/reference/declarationEmitMappedPrivateTypeTypeParameter.js
Copy file name to clipboard+20Lines changed: 20 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 | + |
| 18 | + |
| 19 | + |
| 20 | + |
Collapse file
tests/baselines/reference/declarationEmitMappedPrivateTypeTypeParameter.symbols
Copy file name to clipboard+16Lines changed: 16 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 | + |
Collapse file
tests/baselines/reference/declarationEmitMappedPrivateTypeTypeParameter.types
Copy file name to clipboard+10Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
Collapse file
tests/cases/compiler/declarationEmitMappedPrivateTypeTypeParameter.ts
Copy file name to clipboard+8Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
0 commit comments