René's URL Explorer Experiment


Title: Improve control flow analysis in function expressions by ahejlsberg · Pull Request #8849 · microsoft/TypeScript · GitHub

Open Graph Title: Improve control flow analysis in function expressions by ahejlsberg · Pull Request #8849 · microsoft/TypeScript

X Title: Improve control flow analysis in function expressions by ahejlsberg · Pull Request #8849 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Improve control flow analysis in function expressions by ahejlsberg · Pull Request #8849 · microsoft/TypeScript

Open Graph Description: This PR improves control flow analysis as follows: Immediately invoked function expressions (IIFEs) are considered part of the surrounding control flow. Effectively, IIFEs act just like statement ...

X Description: This PR improves control flow analysis as follows: Immediately invoked function expressions (IIFEs) are considered part of the surrounding control flow. Effectively, IIFEs act just like statement ...

Opengraph URL: https://github.com/microsoft/TypeScript/pull/8849

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:8efafdfc-10a6-31a2-f71b-ad6b08e5f9db
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id826A:4279A:818A6C:AFE646:6B00E4C8
html-safe-nonceb0e1f2badefae64cb09794269006b4d2d34e8c8059867c73bfb9cbfa9cccd232
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjZBOjQyNzlBOjgxOEE2QzpBRkU2NDY6NkIwMEU0QzgiLCJ2aXNpdG9yX2lkIjoiNjk1NDI1MDUyMzA3NTczMjY4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacba7bf84b05eece41313674775e047dabaf1f587bf70188add0022144005c46f4
hovercard-subject-tagpull_request:71641892
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/8849/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/71676392f5346407044ef64397f8e97489039cbf9a1f3bea640cf83418d52baf/microsoft/TypeScript/pull/8849
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/71676392f5346407044ef64397f8e97489039cbf9a1f3bea640cf83418d52baf/microsoft/TypeScript/pull/8849
og:image:altThis PR improves control flow analysis as follows: Immediately invoked function expressions (IIFEs) are considered part of the surrounding control flow. Effectively, IIFEs act just like statement ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameahejlsberg
hostnamegithub.com
expected-hostnamegithub.com
None27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14
turbo-cache-controlno-cache
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release624179fb8b88d26ba5bba08894eb60a1c5a1d93d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/8849#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F8849
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F8849
Sign uphttps://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
Reloadhttps://github.com/microsoft/TypeScript/pull/8849
Reloadhttps://github.com/microsoft/TypeScript/pull/8849
Reloadhttps://github.com/microsoft/TypeScript/pull/8849
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests309 (309)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
outerControlFlowshttps://github.com/microsoft/TypeScript/tree/outerControlFlows
Conversationhttps://github.com/microsoft/TypeScript/pull/8849
Commits9 (9)https://github.com/microsoft/TypeScript/pull/8849/commits
Checkshttps://github.com/microsoft/TypeScript/pull/8849/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/8849/files
Improve control flow analysis in function expressionshttps://github.com/microsoft/TypeScript/pull/8849#top
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
outerControlFlowshttps://github.com/microsoft/TypeScript/tree/outerControlFlows
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
May 26, 2016https://github.com/microsoft/TypeScript/pull/8849#issue-157102862
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8849
#8381https://github.com/microsoft/TypeScript/issues/8381
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8849
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
May 26, 2016 15:30https://github.com/microsoft/TypeScript/pull/8849#commits-pushed-3b5c72c
https://github.com/ahejlsberg
Include outer function expressions in control flow analysishttps://github.com/microsoft/TypeScript/pull/8849/commits/3b5c72c4bc033f5bf4d38931b2eed0bf0bf7e5e9
3b5c72chttps://github.com/microsoft/TypeScript/pull/8849/commits/3b5c72c4bc033f5bf4d38931b2eed0bf0bf7e5e9
https://github.com/ahejlsberg
Fix testhttps://github.com/microsoft/TypeScript/pull/8849/commits/d20664aa69b54cb05b427fb357c72a384100d131
d20664ahttps://github.com/microsoft/TypeScript/pull/8849/commits/d20664aa69b54cb05b427fb357c72a384100d131
https://github.com/ahejlsberg
Add new testshttps://github.com/microsoft/TypeScript/pull/8849/commits/e5e21f9b5e34f1c999289a9ba7cbd9adbde67290
e5e21f9https://github.com/microsoft/TypeScript/pull/8849/commits/e5e21f9b5e34f1c999289a9ba7cbd9adbde67290
https://github.com/msftclas
Microsoft Contribution License Agreements (msftclas)https://github.com/msftclas
cla-not-required https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3Acla-not-required
May 26, 2016https://github.com/microsoft/TypeScript/pull/8849#event-673876762
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
May 26, 2016 16:50https://github.com/microsoft/TypeScript/pull/8849#commits-pushed-1647d20
https://github.com/ahejlsberg
Fix linting errorshttps://github.com/microsoft/TypeScript/pull/8849/commits/1647d20d90e0cc68a2714abeb7a1e81bb32c2b17
1647d20https://github.com/microsoft/TypeScript/pull/8849/commits/1647d20d90e0cc68a2714abeb7a1e81bb32c2b17
https://github.com/ahejlsberg
Track return statements in IIFE using a flow labelhttps://github.com/microsoft/TypeScript/pull/8849/commits/e8ecf0e615ca552b7355740cd91cae6f8ed7b74e
e8ecf0ehttps://github.com/microsoft/TypeScript/pull/8849/commits/e8ecf0e615ca552b7355740cd91cae6f8ed7b74e
https://github.com/ahejlsberg
Update testhttps://github.com/microsoft/TypeScript/pull/8849/commits/4d730a5c6a6cda260f5e382fa2c4b8cf92cb578c
4d730a5https://github.com/microsoft/TypeScript/pull/8849/commits/4d730a5c6a6cda260f5e382fa2c4b8cf92cb578c
https://github.com/ivogabe
Ivo Gabe de Wolff (ivogabe)https://github.com/ivogabe
May 28, 2016 https://github.com/microsoft/TypeScript/pull/8849#ref-issue-157351827
Null inference of constants within callbacks #8880 https://github.com/microsoft/TypeScript/issues/8880
https://github.com/ahejlsberg
Optimize critical code paths in binderhttps://github.com/microsoft/TypeScript/pull/8849/commits/66e9f7dc214dc13c936e3cec2a27d3fef56777be
66e9f7dhttps://github.com/microsoft/TypeScript/pull/8849/commits/66e9f7dc214dc13c936e3cec2a27d3fef56777be
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
May 28, 2016https://github.com/microsoft/TypeScript/pull/8849#issuecomment-222334060
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
Vladimir Matveev (@vladima)https://github.com/vladima
Ron Buckton (@rbuckton)https://github.com/rbuckton
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8849
https://github.com/ahejlsberg
More critical path optimization in binderhttps://github.com/microsoft/TypeScript/pull/8849/commits/5b4dffc2d72f9c1b99fdf6fa3d2f090fc735066c
5b4dffchttps://github.com/microsoft/TypeScript/pull/8849/commits/5b4dffc2d72f9c1b99fdf6fa3d2f090fc735066c
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
May 29, 2016https://github.com/microsoft/TypeScript/pull/8849#issuecomment-222388829
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8849
mhegazyhttps://github.com/mhegazy
May 31, 2016 https://github.com/microsoft/TypeScript/pull/8849#discussion-diff-65233412
View reviewed changes https://github.com/microsoft/TypeScript/pull/8849/files/5b4dffc2d72f9c1b99fdf6fa3d2f090fc735066c#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/8849/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
May 31, 2016https://github.com/microsoft/TypeScript/pull/8849#discussion_r65233412
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8849
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
May 31, 2016https://github.com/microsoft/TypeScript/pull/8849#discussion_r65240035
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8849
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
May 31, 2016https://github.com/microsoft/TypeScript/pull/8849#issuecomment-222774130
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8849
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
May 31, 2016https://github.com/microsoft/TypeScript/pull/8849#issuecomment-222774183
Vladimir Matveev (@vladima)https://github.com/vladima
Ron Buckton (@rbuckton)https://github.com/rbuckton
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8849
rbucktonhttps://github.com/rbuckton
May 31, 2016 https://github.com/microsoft/TypeScript/pull/8849#discussion-diff-65236715
View reviewed changes https://github.com/microsoft/TypeScript/pull/8849/files/5b4dffc2d72f9c1b99fdf6fa3d2f090fc735066c#diff-9ad14a2e2e66533cd0c3f02ecf01f7e6bc9d60cdf2e125df2a14ce0713222898
src/compiler/binder.tshttps://github.com/microsoft/TypeScript/pull/8849/files#diff-9ad14a2e2e66533cd0c3f02ecf01f7e6bc9d60cdf2e125df2a14ce0713222898
Ron Buckton (rbuckton)https://github.com/rbuckton
May 31, 2016https://github.com/microsoft/TypeScript/pull/8849#discussion_r65236715
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8849
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
May 31, 2016https://github.com/microsoft/TypeScript/pull/8849#discussion_r65265613
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8849
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
May 31, 2016 https://github.com/microsoft/TypeScript/pull/8849#ref-pullrequest-148515429
[Salsa] Support @typedef for jsdoc #8103 https://github.com/microsoft/TypeScript/pull/8103
https://github.com/ahejlsberg
Address CR feedbackhttps://github.com/microsoft/TypeScript/pull/8849/commits/41446fe4c27820e5668e6a37ba7a2934d6dfa7ad
41446fehttps://github.com/microsoft/TypeScript/pull/8849/commits/41446fe4c27820e5668e6a37ba7a2934d6dfa7ad
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
4095602https://github.com/microsoft/TypeScript/commit/4095602ce50fb210774f9c063617a73849b206b7
May 31, 2016https://github.com/microsoft/TypeScript/pull/8849#event-677663564
The inferred type of this is wrong #8913 https://github.com/microsoft/TypeScript/issues/8913
Narrow const variables in function declarations #8976 https://github.com/microsoft/TypeScript/issues/8976
https://github.com/yortus
Troy Gerwien (yortus)https://github.com/yortus
Jun 8, 2016 https://github.com/microsoft/TypeScript/pull/8849#ref-issue-159123823
Primitive type guards require typeof to be on the left hand side of the comparison #9020 https://github.com/microsoft/TypeScript/issues/9020
https://github.com/yortus
Troy Gerwien (yortus)https://github.com/yortus
Jun 20, 2016 https://github.com/microsoft/TypeScript/pull/8849#ref-issue-161096625
Discriminated union types lose their narrowed type inside nested function scopes #9258 https://github.com/microsoft/TypeScript/issues/9258
https://github.com/yortus
Troy Gerwien (yortus)https://github.com/yortus
Jul 18, 2016 https://github.com/microsoft/TypeScript/pull/8849#ref-issue-165770401
Aggressive "used before assigned" with strictNullChecks #9757 https://github.com/microsoft/TypeScript/issues/9757
https://github.com/yortus
Troy Gerwien (yortus)https://github.com/yortus
Jul 27, 2016 https://github.com/microsoft/TypeScript/pull/8849#ref-issue-161254349
"Block-scoped variable used before its declaration" not detected inside closures #9273 https://github.com/microsoft/TypeScript/issues/9273
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
August 11, 2016 01:44https://github.com/microsoft/TypeScript/pull/8849#event-752143158
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Sep 19, 2016 https://github.com/microsoft/TypeScript/pull/8849#ref-issue-177746949
strictNullChecks non-null assertion lost inside Array#map callback #10982 https://github.com/microsoft/TypeScript/issues/10982
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Dec 3, 2016 https://github.com/microsoft/TypeScript/pull/8849#ref-issue-193168966
Type guard not working in returned function #12616 https://github.com/microsoft/TypeScript/issues/12616
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Dec 4, 2017 https://github.com/microsoft/TypeScript/pull/8849#ref-issue-278876620
Type checking bug (Type 'null' cannot be used as an index type) #20434 https://github.com/microsoft/TypeScript/issues/20434
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Jun 19, 2018https://github.com/microsoft/TypeScript/pull/8849#event-1689837338
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F8849
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8849
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8849
https://github.com/ahejlsberg
https://github.com/mhegazy
https://github.com/rbuckton
https://github.com/msftclas
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.