CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 22:40:43 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/microsoft/TypeScript.git
etag: W/"04f9b13cd848320efac0566cde9c29f4"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=jh8F73RGARx56EOua%2FUSOTmX6OhUD0n%2B6XjBi7kU%2BPusJVnFyARF9qymncUd5N5xS809UJMBEV8FFt7P%2B8GDdaSxdufjWzAA0Ujtcfw68NKYR5K9b%2BA2pxB8jXTMOPniNiBgALa5HLSFrUeb4mZ66keX4eWw5YdQx70pLwWNyZlFGrVtbnSsmrvLMHrJbS1lmbRdV7WRGfbuzay0sJiB2YGJrEfT0gxi%2FreiAxtEwNkLOEccV2S9I8wmMC%2FwyD5W%2Fmx5WWLSQdPF46uSbHzylA%3D%3D--bDOmHTIk9RSySeh7--44Q3LmQSxkVjntV0OkJHgA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1214463741.1753224041; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 22:40:41 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 22:40:41 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BEB8:3B93B0:1989EA:227F1D:68801369
Preserve type refinements in closures created past last assignment (#… · microsoft/TypeScript@8ff77fb · GitHub
Copy file name to clipboardExpand all lines: tests/baselines/reference/controlFlowAliasing.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/controlFlowAliasing.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/controlFlowAliasing.symbols
Copy file name to clipboardExpand all lines: tests/baselines/reference/controlFlowAliasing.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/implicitConstParameters.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/implicitConstParameters.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/implicitConstParameters.symbols
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit 8ff77fb
authored
File tree
Expand file treeCollapse file tree
20 files changed
+1485
-68
lines changedFilter options
- src/compiler
- tests
- baselines/reference
- cases
- compiler
- conformance/controlFlow
Expand file treeCollapse file tree
20 files changed
+1485
-68
lines changed+102-20Lines changed: 102 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
668 | 668 |
| |
669 | 669 |
| |
670 | 670 |
| |
671 |
| - | |
672 | 671 |
| |
673 | 672 |
| |
674 | 673 |
| |
| |||
27481 | 27480 |
| |
27482 | 27481 |
| |
27483 | 27482 |
| |
27484 |
| - | |
| 27483 | + | |
27485 | 27484 |
| |
27486 | 27485 |
| |
27487 | 27486 |
| |
| |||
28760 | 28759 |
| |
28761 | 28760 |
| |
28762 | 28761 |
| |
28763 |
| - | |
| 28762 | + | |
| 28763 | + | |
| 28764 | + | |
| 28765 | + | |
| 28766 | + | |
| 28767 | + | |
| 28768 | + | |
| 28769 | + | |
28764 | 28770 |
| |
28765 | 28771 |
| |
28766 |
| - | |
28767 | 28772 |
| |
28768 | 28773 |
| |
28769 | 28774 |
| |
28770 | 28775 |
| |
28771 | 28776 |
| |
28772 | 28777 |
| |
28773 | 28778 |
| |
28774 |
| - | |
| 28779 | + | |
28775 | 28780 |
| |
28776 | 28781 |
| |
28777 | 28782 |
| |
| |||
28789 | 28794 |
| |
28790 | 28795 |
| |
28791 | 28796 |
| |
28792 |
| - | |
| 28797 | + | |
28793 | 28798 |
| |
28794 | 28799 |
| |
| 28800 | + | |
| 28801 | + | |
| 28802 | + | |
| 28803 | + | |
| 28804 | + | |
| 28805 | + | |
| 28806 | + | |
| 28807 | + | |
| 28808 | + | |
| 28809 | + | |
28795 | 28810 |
| |
28796 |
| - | |
28797 |
| - | |
28798 |
| - | |
28799 |
| - | |
28800 |
| - | |
| 28811 | + | |
| 28812 | + | |
| 28813 | + | |
| 28814 | + | |
| 28815 | + | |
| 28816 | + | |
| 28817 | + | |
| 28818 | + | |
| 28819 | + | |
28801 | 28820 |
| |
28802 |
| - | |
| 28821 | + | |
| 28822 | + | |
| 28823 | + | |
| 28824 | + | |
| 28825 | + | |
| 28826 | + | |
| 28827 | + | |
| 28828 | + | |
| 28829 | + | |
| 28830 | + | |
| 28831 | + | |
| 28832 | + | |
| 28833 | + | |
| 28834 | + | |
28803 | 28835 |
| |
28804 |
| - | |
28805 |
| - | |
| 28836 | + | |
| 28837 | + | |
28806 | 28838 |
| |
| 28839 | + | |
| 28840 | + | |
| 28841 | + | |
| 28842 | + | |
| 28843 | + | |
| 28844 | + | |
| 28845 | + | |
| 28846 | + | |
| 28847 | + | |
| 28848 | + | |
| 28849 | + | |
| 28850 | + | |
| 28851 | + | |
| 28852 | + | |
| 28853 | + | |
| 28854 | + | |
| 28855 | + | |
| 28856 | + | |
| 28857 | + | |
| 28858 | + | |
| 28859 | + | |
| 28860 | + | |
| 28861 | + | |
| 28862 | + | |
| 28863 | + | |
| 28864 | + | |
| 28865 | + | |
28807 | 28866 |
| |
28808 | 28867 |
| |
28809 | 28868 |
| |
28810 | 28869 |
| |
28811 | 28870 |
| |
28812 | 28871 |
| |
| 28872 | + | |
| 28873 | + | |
| 28874 | + | |
| 28875 | + | |
| 28876 | + | |
| 28877 | + | |
| 28878 | + | |
| 28879 | + | |
| 28880 | + | |
| 28881 | + | |
| 28882 | + | |
| 28883 | + | |
| 28884 | + | |
| 28885 | + | |
| 28886 | + | |
| 28887 | + | |
| 28888 | + | |
28813 | 28889 |
| |
28814 | 28890 |
| |
28815 | 28891 |
| |
| |||
29160 | 29236 |
| |
29161 | 29237 |
| |
29162 | 29238 |
| |
29163 |
| - | |
29164 |
| - | |
29165 |
| - | |
| 29239 | + | |
| 29240 | + | |
| 29241 | + | |
| 29242 | + | |
29166 | 29243 |
| |
29167 |
| - | |
29168 |
| - | |
29169 |
| - | |
| 29244 | + | |
| 29245 | + | |
| 29246 | + | |
| 29247 | + | |
| 29248 | + | |
| 29249 | + | |
| 29250 | + | |
| 29251 | + | |
29170 | 29252 |
| |
29171 | 29253 |
| |
29172 | 29254 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5825 | 5825 |
| |
5826 | 5826 |
| |
5827 | 5827 |
| |
| 5828 | + | |
5828 | 5829 |
| |
5829 |
| - | |
5830 | 5830 |
| |
5831 | 5831 |
| |
5832 | 5832 |
| |
|
+1-7Lines changed: 1 addition & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8178 | 8178 |
| |
8179 | 8179 |
| |
8180 | 8180 |
| |
8181 |
| - | |
| 8181 | + | |
8182 | 8182 |
| |
8183 | 8183 |
| |
8184 | 8184 |
| |
| |||
10351 | 10351 |
| |
10352 | 10352 |
| |
10353 | 10353 |
| |
10354 |
| - | |
10355 |
| - | |
10356 |
| - | |
10357 |
| - | |
10358 |
| - | |
10359 |
| - | |
10360 | 10354 |
| |
10361 | 10355 |
| |
10362 | 10356 |
| |
|
tests/baselines/reference/controlFlowAliasing.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/controlFlowAliasing.errors.txt+3-13Lines changed: 3 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 | 17 |
| |
22 | 18 |
| |
23 | 19 |
| |
| |||
28 | 24 |
| |
29 | 25 |
| |
30 | 26 |
| |
31 |
| - | |
| 27 | + | |
32 | 28 |
| |
33 | 29 |
| |
34 | 30 |
| |
| |||
186 | 182 |
| |
187 | 183 |
| |
188 | 184 |
| |
189 |
| - | |
190 |
| - | |
191 |
| - | |
192 |
| - | |
| 185 | + | |
193 | 186 |
| |
194 | 187 |
| |
195 |
| - | |
196 |
| - | |
197 |
| - | |
198 |
| - | |
| 188 | + | |
199 | 189 |
| |
200 | 190 |
| |
201 | 191 |
| |
|
tests/baselines/reference/controlFlowAliasing.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/controlFlowAliasing.js+4-4Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
137 |
| - | |
| 137 | + | |
138 | 138 |
| |
139 | 139 |
| |
140 |
| - | |
| 140 | + | |
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
| |||
423 | 423 |
| |
424 | 424 |
| |
425 | 425 |
| |
426 |
| - | |
| 426 | + | |
427 | 427 |
| |
428 | 428 |
| |
429 |
| - | |
| 429 | + | |
430 | 430 |
| |
431 | 431 |
| |
432 | 432 |
| |
|
tests/baselines/reference/controlFlowAliasing.symbols
Copy file name to clipboardExpand all lines: tests/baselines/reference/controlFlowAliasing.symbols+6-2Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
370 | 370 |
| |
371 | 371 |
| |
372 | 372 |
| |
373 |
| - | |
| 373 | + | |
| 374 | + | |
374 | 375 |
| |
| 376 | + | |
375 | 377 |
| |
376 | 378 |
| |
377 |
| - | |
| 379 | + | |
| 380 | + | |
378 | 381 |
| |
| 382 | + | |
379 | 383 |
| |
380 | 384 |
| |
381 | 385 |
| |
|
tests/baselines/reference/controlFlowAliasing.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/controlFlowAliasing.types+8-8Lines changed: 8 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
440 | 440 |
| |
441 | 441 |
| |
442 | 442 |
| |
443 |
| - | |
444 |
| - | |
445 |
| - | |
446 |
| - | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
447 | 447 |
| |
448 | 448 |
| |
449 |
| - | |
450 |
| - | |
451 |
| - | |
452 |
| - | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
453 | 453 |
| |
454 | 454 |
| |
455 | 455 |
| |
|
tests/baselines/reference/implicitConstParameters.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/implicitConstParameters.errors.txt+2-5Lines changed: 2 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 | 1 |
| |
3 | 2 |
| |
4 | 3 |
| |
5 |
| - | |
| 4 | + | |
6 | 5 |
| |
7 | 6 |
| |
8 | 7 |
| |
| |||
38 | 37 |
| |
39 | 38 |
| |
40 | 39 |
| |
41 |
| - | |
| 40 | + | |
42 | 41 |
| |
43 | 42 |
| |
44 |
| - | |
45 |
| - | |
46 | 43 |
| |
47 | 44 |
| |
48 | 45 |
| |
|
tests/baselines/reference/implicitConstParameters.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/implicitConstParameters.js+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
| 39 | + | |
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
| |||
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
91 |
| - | |
| 91 | + | |
92 | 92 |
| |
93 | 93 |
| |
94 | 94 |
| |
|
tests/baselines/reference/implicitConstParameters.symbols
Copy file name to clipboardExpand all lines: tests/baselines/reference/implicitConstParameters.symbols+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
86 | 86 |
| |
87 | 87 |
| |
88 | 88 |
| |
89 |
| - | |
| 89 | + | |
90 | 90 |
| |
91 | 91 |
| |
92 | 92 |
| |
|
You can’t perform that action at this time.
0 commit comments