| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:7fb7861d-b7d9-3061-7447-4f4ff978bbea |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 868C:2A01CD:2D37C5:3FF0F0:6B006CE0 |
| html-safe-nonce | d7d11edb7c90dd5d562882f4364abefdcb437bc731170f2eaa24e6b2c78ce774 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjhDOjJBMDFDRDoyRDM3QzU6M0ZGMEYwOjZCMDA2Q0UwIiwidmlzaXRvcl9pZCI6IjYwNTYwNjA5MjkzMTYyNDE2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ad62d73e8a821d3d9a5a7a66d0b9e64178d727b65f2b25cd25d469607e64ccde |
| hovercard-subject-tag | pull_request:25122160 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/1287/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/28bc772868dc89f25770e538f5675db59912840719a469122ed4e9d02e11934b/microsoft/TypeScript/pull/1287 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/28bc772868dc89f25770e538f5675db59912840719a469122ed4e9d02e11934b/microsoft/TypeScript/pull/1287 |
| og:image:alt | This PR adds a basic control flow analysis to typescript compiler. Now it can detect unreachable code, implicit returns of undefined in functions, unused labels, fall- through between cases in swit... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vladima |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa |
| turbo-cache-control | no-cache |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/microsoft/TypeScript/pull/1287#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F1287 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F1287 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2FTypeScript |
| Reload | https://github.com/microsoft/TypeScript/pull/1287 |
| Reload | https://github.com/microsoft/TypeScript/pull/1287 |
| Reload | https://github.com/microsoft/TypeScript/pull/1287 |
| microsoft | https://github.com/microsoft |
| TypeScript | https://github.com/microsoft/TypeScript |
| Code | https://github.com/microsoft/TypeScript |
| Issues5k (5k) | https://github.com/microsoft/TypeScript/issues |
| Pull requests307 (307) | https://github.com/microsoft/TypeScript/pulls |
| Actions | https://github.com/microsoft/TypeScript/actions |
| Projects | https://github.com/microsoft/TypeScript/projects |
| Wiki | https://github.com/microsoft/TypeScript/wiki |
| Security and quality | https://github.com/microsoft/TypeScript/security |
| Insights | https://github.com/microsoft/TypeScript/insights |
| https://github.com/microsoft/TypeScript |
| Vladimir Matveev (vladima) | https://github.com/vladima |
| master | https://github.com/microsoft/TypeScript/tree/master |
| cfa | https://github.com/microsoft/TypeScript/tree/cfa |
| Conversation | https://github.com/microsoft/TypeScript/pull/1287 |
| Commits9 (9) | https://github.com/microsoft/TypeScript/pull/1287/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/1287/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/1287/files |
| Simple control flow analysis | https://github.com/microsoft/TypeScript/pull/1287#top |
| Vladimir Matveev (vladima) | https://github.com/vladima |
| master | https://github.com/microsoft/TypeScript/tree/master |
| cfa | https://github.com/microsoft/TypeScript/tree/cfa |
|
| https://github.com/vladima |
| Vladimir Matveev (vladima) | https://github.com/vladima |
| Nov 27, 2014 | https://github.com/microsoft/TypeScript/pull/1287#issue-50240366 |
| #393 | https://github.com/microsoft/TypeScript/issues/393 |
| #274 | https://github.com/microsoft/TypeScript/issues/274 |
| https://cloud.githubusercontent.com/assets/8052307/5210657/c5ae0f28-7585-11e4-97d8-86169ef2a160.gif |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/1287 |
| Vladimir Matveev (vladima) | https://github.com/vladima |
| November 7, 2014 22:21 | https://github.com/microsoft/TypeScript/pull/1287#commits-pushed-3ec5eb1 |
|
| https://github.com/vladima |
| initial rev of controlflow analysis | https://github.com/microsoft/TypeScript/pull/1287/commits/3ec5eb17bc4298081f3c8fe7753aa90a31e13dcb |
|
| https://github.com/microsoft/TypeScript/commit/3ec5eb17bc4298081f3c8fe7753aa90a31e13dcb#comments |
| 3ec5eb1 | https://github.com/microsoft/TypeScript/pull/1287/commits/3ec5eb17bc4298081f3c8fe7753aa90a31e13dcb |
|
| https://github.com/vladima |
| merge with master | https://github.com/microsoft/TypeScript/pull/1287/commits/d0da055453e31908c0ab4fb49f203c3dbdc60130 |
| d0da055 | https://github.com/microsoft/TypeScript/pull/1287/commits/d0da055453e31908c0ab4fb49f203c3dbdc60130 |
| DanielRosenwasser | https://github.com/DanielRosenwasser |
|
Nov 27, 2014
| https://github.com/microsoft/TypeScript/pull/1287#discussion-diff-20973853 |
| View reviewed changes
| https://github.com/microsoft/TypeScript/pull/1287/files/d0da055453e31908c0ab4fb49f203c3dbdc60130#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8 |
| src/compiler/checker.ts | https://github.com/microsoft/TypeScript/pull/1287/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8 |
| Daniel Rosenwasser (DanielRosenwasser) | https://github.com/DanielRosenwasser |
| Nov 27, 2014 | https://github.com/microsoft/TypeScript/pull/1287#discussion_r20973853 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/1287 |
| https://github.com/dekajp |
| dekajp (dekajp) | https://github.com/dekajp |
|
Nov 30, 2014
| https://github.com/microsoft/TypeScript/pull/1287#ref-issue-39755590 |
|
Switch case fallthrough
#393
| https://github.com/microsoft/TypeScript/issues/393 |
| DanielRosenwasser | https://github.com/DanielRosenwasser |
|
Nov 30, 2014
| https://github.com/microsoft/TypeScript/pull/1287#discussion-diff-21063461 |
| View reviewed changes
| https://github.com/microsoft/TypeScript/pull/1287/files/d0da055453e31908c0ab4fb49f203c3dbdc60130#diff-36d19e272f7bf7aa5f106140405a49165c2b23139480b8dc9befe679d0ccd239 |
| src/compiler/controlflow.ts | https://github.com/microsoft/TypeScript/pull/1287/files#diff-36d19e272f7bf7aa5f106140405a49165c2b23139480b8dc9befe679d0ccd239 |
| Daniel Rosenwasser (DanielRosenwasser) | https://github.com/DanielRosenwasser |
| Nov 30, 2014 | https://github.com/microsoft/TypeScript/pull/1287#discussion_r21063461 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/1287 |
|
| https://github.com/vladima |
| addressed CR feedback, exit early after reporting 'unreachable statem… | https://github.com/microsoft/TypeScript/pull/1287/commits/1d6bd0d92f9736bf01d01950bf029e6d2e5316a9 |
| 1d6bd0d | https://github.com/microsoft/TypeScript/pull/1287/commits/1d6bd0d92f9736bf01d01950bf029e6d2e5316a9 |
| DanielRosenwasser | https://github.com/DanielRosenwasser |
|
Dec 1, 2014
| https://github.com/microsoft/TypeScript/pull/1287#discussion-diff-21068988 |
| View reviewed changes
| https://github.com/microsoft/TypeScript/pull/1287/files/1d6bd0d92f9736bf01d01950bf029e6d2e5316a9#diff-36d19e272f7bf7aa5f106140405a49165c2b23139480b8dc9befe679d0ccd239 |
| src/compiler/controlflow.ts | https://github.com/microsoft/TypeScript/pull/1287/files#diff-36d19e272f7bf7aa5f106140405a49165c2b23139480b8dc9befe679d0ccd239 |
| Daniel Rosenwasser (DanielRosenwasser) | https://github.com/DanielRosenwasser |
| Dec 1, 2014 | https://github.com/microsoft/TypeScript/pull/1287#discussion_r21068988 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/1287 |
| Vladimir Matveev (vladima) | https://github.com/vladima |
| December 1, 2014 10:38 | https://github.com/microsoft/TypeScript/pull/1287#commits-pushed-80cc8bb |
|
| https://github.com/vladima |
| merge with master | https://github.com/microsoft/TypeScript/pull/1287/commits/80cc8bbafc3afc0f8bea3764fee6f2e473d773cc |
| 80cc8bb | https://github.com/microsoft/TypeScript/pull/1287/commits/80cc8bbafc3afc0f8bea3764fee6f2e473d773cc |
|
| https://github.com/vladima |
| removed commented code | https://github.com/microsoft/TypeScript/pull/1287/commits/147959fd31c9346674059dacec97e3a82fca2514 |
| 147959f | https://github.com/microsoft/TypeScript/pull/1287/commits/147959fd31c9346674059dacec97e3a82fca2514 |
| https://github.com/JsonFreeman |
| Jason Freeman (JsonFreeman) | https://github.com/JsonFreeman |
| Dec 1, 2014 | https://github.com/microsoft/TypeScript/pull/1287#issuecomment-65138372 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/1287 |
| Vladimir Matveev (vladima) | https://github.com/vladima |
| December 1, 2014 13:50 | https://github.com/microsoft/TypeScript/pull/1287#commits-pushed-20d0cd9 |
|
| https://github.com/vladima |
| fix post finally state | https://github.com/microsoft/TypeScript/pull/1287/commits/20d0cd9363119fb27085012e6c3db37b4bd50a10 |
| 20d0cd9 | https://github.com/microsoft/TypeScript/pull/1287/commits/20d0cd9363119fb27085012e6c3db37b4bd50a10 |
|
| https://github.com/vladima |
| move check of else statement into conditional | https://github.com/microsoft/TypeScript/pull/1287/commits/363a517fd66a9ce9315f352b9158b057c9a1f654 |
| 363a517 | https://github.com/microsoft/TypeScript/pull/1287/commits/363a517fd66a9ce9315f352b9158b057c9a1f654 |
|
| https://github.com/vladima |
| change category of cf related notification to 'warning' | https://github.com/microsoft/TypeScript/pull/1287/commits/15e630cae8359e66d90839b411dfff5b990564e7 |
| 15e630c | https://github.com/microsoft/TypeScript/pull/1287/commits/15e630cae8359e66d90839b411dfff5b990564e7 |
|
| https://github.com/vladima |
| fix final state in if statement | https://github.com/microsoft/TypeScript/pull/1287/commits/68b135a9656399749906d54777ce39693fba0eb2 |
| 68b135a | https://github.com/microsoft/TypeScript/pull/1287/commits/68b135a9656399749906d54777ce39693fba0eb2 |
| https://github.com/vladima |
| Vladimir Matveev (vladima) | https://github.com/vladima |
|
Jan 21, 2015
| https://github.com/microsoft/TypeScript/pull/1287#ref-issue-55078334 |
|
Type narrowing is not allowed if variable is reassigned after the use site inside if block
#1764
| https://github.com/microsoft/TypeScript/issues/1764 |
| https://github.com/DanielRosenwasser |
| Daniel Rosenwasser (DanielRosenwasser) | https://github.com/DanielRosenwasser |
| Jan 22, 2015 | https://github.com/microsoft/TypeScript/pull/1287#issuecomment-70983454 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/1287 |
| https://github.com/NoelAbrahams |
| Noel Abrahams (NoelAbrahams) | https://github.com/NoelAbrahams |
| Jan 22, 2015 | https://github.com/microsoft/TypeScript/pull/1287#issuecomment-71003130 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/1287 |
| https://github.com/CyrusNajmabadi |
| Cyrus Najmabadi (CyrusNajmabadi) | https://github.com/CyrusNajmabadi |
|
Mar 1, 2015
| https://github.com/microsoft/TypeScript/pull/1287#ref-issue-59418255 |
|
Suggestion: errors based on control flow analysis
#2176
| https://github.com/microsoft/TypeScript/issues/2176 |
| https://github.com/awerlang |
| André Werlang (awerlang) | https://github.com/awerlang |
| Mar 19, 2015 | https://github.com/microsoft/TypeScript/pull/1287#issuecomment-83631147 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/1287 |
| https://github.com/CyrusNajmabadi |
| Cyrus Najmabadi (CyrusNajmabadi) | https://github.com/CyrusNajmabadi |
|
Apr 10, 2015
| https://github.com/microsoft/TypeScript/pull/1287#ref-issue-67502324 |
|
If the expression after the return statement is on a new line, the generated code is incorrect
#2704
| https://github.com/microsoft/TypeScript/issues/2704 |
| https://github.co/hiddenchars |
| https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F1287 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/1287 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/1287 |
|
| https://github.com/vladima |
|
| https://github.com/JsonFreeman |
|
| https://github.com/DanielRosenwasser |
|
| https://github.com/NoelAbrahams |
|
| https://github.com/awerlang |
|
| https://github.com/CyrusNajmabadi |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |