Commit 614a07c
authored
Fix printing and emit for definite assignment assertions (microsoft#35095)
* Fix printing and emit for definite assignment assertions
* Make factories that handle definite assertions internal1 parent a6d44aa commit 614a07cCopy full SHA for 614a07c
7 files changed
+42-3Lines changed: 42 additions & 3 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src
- compiler
- transformers
- testRunner/unittests
- tests/baselines/reference/printerApi
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3807 | 3807 | |
3808 | 3808 | |
3809 | 3809 | |
3810 | | - |
| 3810 | + |
3811 | 3811 | |
3812 | 3812 | |
3813 | 3813 | |
|
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2741 | 2741 | |
2742 | 2742 | |
2743 | 2743 | |
| 2744 | + |
2744 | 2745 | |
2745 | 2746 | |
2746 | 2747 | |
|
Collapse file
+22Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1937 | 1937 | |
1938 | 1938 | |
1939 | 1939 | |
| 1940 | + |
1940 | 1941 | |
1941 | 1942 | |
1942 | 1943 | |
| ||
1945 | 1946 | |
1946 | 1947 | |
1947 | 1948 | |
| 1949 | + |
1948 | 1950 | |
1949 | 1951 | |
1950 | 1952 | |
1951 | 1953 | |
1952 | 1954 | |
1953 | 1955 | |
1954 | 1956 | |
| 1957 | + |
| 1958 | + |
| 1959 | + |
| 1960 | + |
| 1961 | + |
| 1962 | + |
| 1963 | + |
| 1964 | + |
| 1965 | + |
| 1966 | + |
| 1967 | + |
| 1968 | + |
| 1969 | + |
| 1970 | + |
| 1971 | + |
| 1972 | + |
| 1973 | + |
| 1974 | + |
| 1975 | + |
| 1976 | + |
1955 | 1977 | |
1956 | 1978 | |
1957 | 1979 | |
|
Collapse file
src/compiler/transformers/declarations.ts
Copy file name to clipboardExpand all lines: src/compiler/transformers/declarations.ts+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
937 | 937 | |
938 | 938 | |
939 | 939 | |
940 | | - |
| 940 | + |
941 | 941 | |
942 | 942 | |
943 | 943 | |
|
Collapse file
src/compiler/transformers/ts.ts
Copy file name to clipboardExpand all lines: src/compiler/transformers/ts.ts+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2188 | 2188 | |
2189 | 2189 | |
2190 | 2190 | |
2191 | | - |
| 2191 | + |
2192 | 2192 | |
2193 | 2193 | |
| 2194 | + |
2194 | 2195 | |
2195 | 2196 | |
2196 | 2197 | |
|
Collapse file
src/testRunner/unittests/printer.ts
Copy file name to clipboardExpand all lines: src/testRunner/unittests/printer.ts+11Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
67 | 67 | |
68 | 68 | |
69 | 69 | |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
70 | 81 | |
71 | 82 | |
72 | 83 | |
|
Collapse file
tests/baselines/reference/printerApi/printsFileCorrectly.definiteAssignmentAssertions.js
Copy file name to clipboard+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
0 commit comments