René's URL Explorer Experiment


Title: Bind RHS of comma expressions too by jakebailey · Pull Request #47049 · microsoft/TypeScript · GitHub

Open Graph Title: Bind RHS of comma expressions too by jakebailey · Pull Request #47049 · microsoft/TypeScript

X Title: Bind RHS of comma expressions too by jakebailey · Pull Request #47049 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Bind RHS of comma expressions too by jakebailey · Pull Request #47049 · microsoft/TypeScript

Open Graph Description: Fixes #44487 This is an extension of #41312, applying maybeBindExpressionFlowIfCall the RHS too. The argument there was: just like lists of statements, they generally only exist to compose lists o...

X Description: Fixes #44487 This is an extension of #41312, applying maybeBindExpressionFlowIfCall the RHS too. The argument there was: just like lists of statements, they generally only exist to compose lists o...

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

X: @github

direct link

Domain: github.com

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:f281323f-896f-423a-0f82-be1a19c800c2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9ECC:322E35:620FD80:89C165F:6A50299A
html-safe-nonce28f90e3bd16c873d5d1cf48471bf940ca4595a5adf5b8f82154b5af729b5f73a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUNDOjMyMkUzNTo2MjBGRDgwOjg5QzE2NUY6NkE1MDI5OUEiLCJ2aXNpdG9yX2lkIjoiMTYwNDA3NjQwMzE0OTUxNTE2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac054a3075b4129d83231ad0338fa60827bc8d10df48c109a7417f3f57007d3351
hovercard-subject-tagpull_request:796450234
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/47049/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/73b638c920b4791b6722a9fd2e298d4fb42c17c730e1a4fc9f27193790e4ade8/microsoft/TypeScript/pull/47049
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/73b638c920b4791b6722a9fd2e298d4fb42c17c730e1a4fc9f27193790e4ade8/microsoft/TypeScript/pull/47049
og:image:altFixes #44487 This is an extension of #41312, applying maybeBindExpressionFlowIfCall the RHS too. The argument there was: just like lists of statements, they generally only exist to compose lists o...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejakebailey
hostnamegithub.com
expected-hostnamegithub.com
Noned6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb
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
released90666eaf032b7eb8975a378efe38e37f4ebb96c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/47049#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F47049
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F47049
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
Reloadhttps://github.com/microsoft/TypeScript/pull/47049
Reloadhttps://github.com/microsoft/TypeScript/pull/47049
Reloadhttps://github.com/microsoft/TypeScript/pull/47049
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47049
microsoft https://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Notifications https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Fork 13.5k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Star 110k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Code https://github.com/microsoft/TypeScript
Issues 5k+ https://github.com/microsoft/TypeScript/issues
Pull requests 33 https://github.com/microsoft/TypeScript/pulls
Actions https://github.com/microsoft/TypeScript/actions
Projects https://github.com/microsoft/TypeScript/projects
Models https://github.com/microsoft/TypeScript/models
Wiki https://github.com/microsoft/TypeScript/wiki
Security and quality 0 https://github.com/microsoft/TypeScript/security
Insights https://github.com/microsoft/TypeScript/pulse
Code https://github.com/microsoft/TypeScript
Issues https://github.com/microsoft/TypeScript/issues
Pull requests https://github.com/microsoft/TypeScript/pulls
Actions https://github.com/microsoft/TypeScript/actions
Projects https://github.com/microsoft/TypeScript/projects
Models https://github.com/microsoft/TypeScript/models
Wiki https://github.com/microsoft/TypeScript/wiki
Security and quality https://github.com/microsoft/TypeScript/security
Insights https://github.com/microsoft/TypeScript/pulse
jakebaileyhttps://github.com/jakebailey
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
jakebailey:fix-41312https://github.com/jakebailey/TypeScript/tree/fix-41312
Conversationhttps://github.com/microsoft/TypeScript/pull/47049
Commits5 (5)https://github.com/microsoft/TypeScript/pull/47049/commits
Checkshttps://github.com/microsoft/TypeScript/pull/47049/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/47049/files
Bind RHS of comma expressions toohttps://github.com/microsoft/TypeScript/pull/47049#top
jakebaileyhttps://github.com/jakebailey
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
jakebailey:fix-41312https://github.com/jakebailey/TypeScript/tree/fix-41312
https://github.com/jakebailey
jakebaileyhttps://github.com/jakebailey
Dec 7, 2021https://github.com/microsoft/TypeScript/pull/47049#issue-1072801471
#44487https://github.com/microsoft/TypeScript/issues/44487
#41312https://github.com/microsoft/TypeScript/pull/41312
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47049
jakebaileyhttps://github.com/jakebailey
December 6, 2021 16:33https://github.com/microsoft/TypeScript/pull/47049#commits-pushed-7d6f983
https://github.com/jakebailey
Add test for initial behaviorhttps://github.com/microsoft/TypeScript/pull/47049/commits/7d6f983185b8e2c1d7fca524ec2be69420447fc5
7d6f983https://github.com/microsoft/TypeScript/pull/47049/commits/7d6f983185b8e2c1d7fca524ec2be69420447fc5
https://github.com/jakebailey
Apply previous comma fix to right side of comma expressionhttps://github.com/microsoft/TypeScript/pull/47049/commits/6c9ec85f9bc0cee062a420a93cae2bebd5639c87
6c9ec85https://github.com/microsoft/TypeScript/pull/47049/commits/6c9ec85f9bc0cee062a420a93cae2bebd5639c87
https://github.com/jakebailey
Test multiple commashttps://github.com/microsoft/TypeScript/pull/47049/commits/0fe65fd0939bdedc5063d8872b508ed7f78b15c6
0fe65fdhttps://github.com/microsoft/TypeScript/pull/47049/commits/0fe65fd0939bdedc5063d8872b508ed7f78b15c6
https://github.com/jakebailey
Remove LHS wording from commenthttps://github.com/microsoft/TypeScript/pull/47049/commits/5be259448bd9ad4e915cb8d8b628806cac229fc6
5be2594https://github.com/microsoft/TypeScript/pull/47049/commits/5be259448bd9ad4e915cb8d8b628806cac229fc6
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
jakebaileyhttps://github.com/jakebailey
Dec 7, 2021https://github.com/microsoft/TypeScript/pull/47049#event-5724281081
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
For Milestone Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22
Dec 7, 2021https://github.com/microsoft/TypeScript/pull/47049#event-5724281129
https://github.com/jakebailey
jakebaileyhttps://github.com/jakebailey
Dec 7, 2021https://github.com/microsoft/TypeScript/pull/47049#issuecomment-987467795
@typescript-bothttps://github.com/typescript-bot
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47049
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Dec 7, 2021https://github.com/microsoft/TypeScript/pull/47049#issuecomment-987467828
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47049
@jakebaileyhttps://github.com/jakebailey
5be2594https://github.com/microsoft/TypeScript/commit/5be259448bd9ad4e915cb8d8b628806cac229fc6
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=115964
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47049
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Dec 7, 2021https://github.com/microsoft/TypeScript/pull/47049#issuecomment-987467831
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47049
@jakebaileyhttps://github.com/jakebailey
5be2594https://github.com/microsoft/TypeScript/commit/5be259448bd9ad4e915cb8d8b628806cac229fc6
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=115963
The results are in!https://github.com/microsoft/TypeScript/pull/47049#issuecomment-987497634
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47049
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Dec 7, 2021 https://github.com/microsoft/TypeScript/pull/47049#ref-pullrequest-1072822807
🤖 User test baselines have changed for fix-41312 typescript-bot/TypeScript#215 https://github.com/typescript-bot/TypeScript/pull/215
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Dec 7, 2021https://github.com/microsoft/TypeScript/pull/47049#issuecomment-987493333
PR with the baseline diff from masterhttps://github.com/typescript-bot/TypeScript/pull/215
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47049
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Dec 7, 2021https://github.com/microsoft/TypeScript/pull/47049#issuecomment-987497634
@jakebaileyhttps://github.com/jakebailey
Download Benchmarkhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/115963/artifacts?artifactName=benchmark&fileId=0EC7A60209132FC1563498A63AD8C27DB6946EA9BD0A607A5C54A3C07EF6F14402&fileName=linux.benchmark
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47049
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
ahejlsberghttps://github.com/ahejlsberg
weswighamhttps://github.com/weswigham
December 7, 2021 21:06https://github.com/microsoft/TypeScript/pull/47049#event-5730006766
https://github.com/weswigham
weswighamhttps://github.com/weswigham
Dec 7, 2021 https://github.com/microsoft/TypeScript/pull/47049#pullrequestreview-825783861
View reviewed changes https://github.com/microsoft/TypeScript/pull/47049/files/5be259448bd9ad4e915cb8d8b628806cac229fc6
src/compiler/binder.tshttps://github.com/microsoft/TypeScript/pull/47049/files/5be259448bd9ad4e915cb8d8b628806cac229fc6#diff-9ad14a2e2e66533cd0c3f02ecf01f7e6bc9d60cdf2e125df2a14ce0713222898
weswighamhttps://github.com/weswigham
Dec 7, 2021https://github.com/microsoft/TypeScript/pull/47049#discussion_r764368968
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47049
jakebaileyhttps://github.com/jakebailey
Dec 7, 2021https://github.com/microsoft/TypeScript/pull/47049#discussion_r764370237
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47049
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#44487https://github.com/microsoft/TypeScript/issues/44487
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47049
jakebaileyhttps://github.com/jakebailey
Dec 7, 2021https://github.com/microsoft/TypeScript/pull/47049#discussion_r764371307
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47049
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F47049
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47049
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F47049
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47049
jakebaileyhttps://github.com/jakebailey
Dec 7, 2021https://github.com/microsoft/TypeScript/pull/47049#discussion_r764388436
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47049
https://github.com/jakebailey
Move maybeBindExpressionFlowIfCall into onLeft and onRighthttps://github.com/microsoft/TypeScript/pull/47049/commits/6a1fa03d40288a2a82f7bcb05008099861d3d1f5
6a1fa03https://github.com/microsoft/TypeScript/pull/47049/commits/6a1fa03d40288a2a82f7bcb05008099861d3d1f5
https://github.com/weswigham
weswighamhttps://github.com/weswigham
Jan 18, 2022 https://github.com/microsoft/TypeScript/pull/47049#pullrequestreview-855896514
View reviewed changes https://github.com/microsoft/TypeScript/pull/47049/files/6a1fa03d40288a2a82f7bcb05008099861d3d1f5
https://github.com/jakebailey
jakebaileyhttps://github.com/jakebailey
e2c0033https://github.com/microsoft/TypeScript/commit/e2c00331d6daae6f35ebdef51602d0c8a73738fa
Jan 18, 2022https://github.com/microsoft/TypeScript/pull/47049#event-5912981639
https://github.com/jakebailey
jakebaileyhttps://github.com/jakebailey
January 18, 2022 19:46https://github.com/microsoft/TypeScript/pull/47049#event-5912981845
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Feb 3, 2025 https://github.com/microsoft/TypeScript/pull/47049#ref-issue-2826678006
Type predicate silently ignored when used as non-statement expression #61105 https://github.com/microsoft/TypeScript/issues/61105
https://github.com/microsoft
microsofthttps://github.com/microsoft
Oct 22, 2025https://github.com/microsoft/TypeScript/pull/47049#event-20417475062
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%2F47049
https://github.com/weswigham
weswigham https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/47049/files/6a1fa03d40288a2a82f7bcb05008099861d3d1f5
https://github.com/ahejlsberg
ahejlsberg https://github.com/ahejlsberg
https://github.com/jakebailey
jakebailey https://github.com/jakebailey
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
For Milestone Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22
PR Backlog https://github.com/orgs/microsoft/projects/1252
Comma Operator breaks Assertion Functions https://github.com/microsoft/TypeScript/issues/44487
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47049
https://github.com/jakebailey
https://github.com/typescript-bot
https://github.com/weswigham
https://github.com/sandersn
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.