| 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:f281323f-896f-423a-0f82-be1a19c800c2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9ECC:322E35:620FD80:89C165F:6A50299A |
| html-safe-nonce | 28f90e3bd16c873d5d1cf48471bf940ca4595a5adf5b8f82154b5af729b5f73a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUNDOjMyMkUzNTo2MjBGRDgwOjg5QzE2NUY6NkE1MDI5OUEiLCJ2aXNpdG9yX2lkIjoiMTYwNDA3NjQwMzE0OTUxNTE2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 054a3075b4129d83231ad0338fa60827bc8d10df48c109a7417f3f57007d3351 |
| hovercard-subject-tag | pull_request:796450234 |
| 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/47049/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/73b638c920b4791b6722a9fd2e298d4fb42c17c730e1a4fc9f27193790e4ade8/microsoft/TypeScript/pull/47049 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/73b638c920b4791b6722a9fd2e298d4fb42c17c730e1a4fc9f27193790e4ade8/microsoft/TypeScript/pull/47049 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jakebailey |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| 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 | d90666eaf032b7eb8975a378efe38e37f4ebb96c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://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 AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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 |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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 |
| Reload | https://github.com/microsoft/TypeScript/pull/47049 |
| Reload | https://github.com/microsoft/TypeScript/pull/47049 |
| Reload | https://github.com/microsoft/TypeScript/pull/47049 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47049 |
|
microsoft
| https://github.com/microsoft |
| TypeScript | https://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 |
| jakebailey | https://github.com/jakebailey |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| jakebailey:fix-41312 | https://github.com/jakebailey/TypeScript/tree/fix-41312 |
| Conversation | https://github.com/microsoft/TypeScript/pull/47049 |
| Commits5 (5) | https://github.com/microsoft/TypeScript/pull/47049/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/47049/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/47049/files |
| Bind RHS of comma expressions too | https://github.com/microsoft/TypeScript/pull/47049#top |
| jakebailey | https://github.com/jakebailey |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| jakebailey:fix-41312 | https://github.com/jakebailey/TypeScript/tree/fix-41312 |
|
| https://github.com/jakebailey |
| jakebailey | https://github.com/jakebailey |
| Dec 7, 2021 | https://github.com/microsoft/TypeScript/pull/47049#issue-1072801471 |
| #44487 | https://github.com/microsoft/TypeScript/issues/44487 |
| #41312 | https://github.com/microsoft/TypeScript/pull/41312 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47049 |
| jakebailey | https://github.com/jakebailey |
| December 6, 2021 16:33 | https://github.com/microsoft/TypeScript/pull/47049#commits-pushed-7d6f983 |
|
| https://github.com/jakebailey |
| Add test for initial behavior | https://github.com/microsoft/TypeScript/pull/47049/commits/7d6f983185b8e2c1d7fca524ec2be69420447fc5 |
| 7d6f983 | https://github.com/microsoft/TypeScript/pull/47049/commits/7d6f983185b8e2c1d7fca524ec2be69420447fc5 |
|
| https://github.com/jakebailey |
| Apply previous comma fix to right side of comma expression | https://github.com/microsoft/TypeScript/pull/47049/commits/6c9ec85f9bc0cee062a420a93cae2bebd5639c87 |
| 6c9ec85 | https://github.com/microsoft/TypeScript/pull/47049/commits/6c9ec85f9bc0cee062a420a93cae2bebd5639c87 |
|
| https://github.com/jakebailey |
| Test multiple commas | https://github.com/microsoft/TypeScript/pull/47049/commits/0fe65fd0939bdedc5063d8872b508ed7f78b15c6 |
| 0fe65fd | https://github.com/microsoft/TypeScript/pull/47049/commits/0fe65fd0939bdedc5063d8872b508ed7f78b15c6 |
|
| https://github.com/jakebailey |
| Remove LHS wording from comment | https://github.com/microsoft/TypeScript/pull/47049/commits/5be259448bd9ad4e915cb8d8b628806cac229fc6 |
| 5be2594 | https://github.com/microsoft/TypeScript/pull/47049/commits/5be259448bd9ad4e915cb8d8b628806cac229fc6 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| jakebailey | https://github.com/jakebailey |
| Dec 7, 2021 | https://github.com/microsoft/TypeScript/pull/47049#event-5724281081 |
| https://github.com/typescript-bot |
| typescript-bot | https://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, 2021 | https://github.com/microsoft/TypeScript/pull/47049#event-5724281129 |
| https://github.com/jakebailey |
| jakebailey | https://github.com/jakebailey |
| Dec 7, 2021 | https://github.com/microsoft/TypeScript/pull/47049#issuecomment-987467795 |
| @typescript-bot | https://github.com/typescript-bot |
| @typescript-bot | https://github.com/typescript-bot |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47049 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| Dec 7, 2021 | https://github.com/microsoft/TypeScript/pull/47049#issuecomment-987467828 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47049 |
| @jakebailey | https://github.com/jakebailey |
| 5be2594 | https://github.com/microsoft/TypeScript/commit/5be259448bd9ad4e915cb8d8b628806cac229fc6 |
| here | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=115964 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47049 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| Dec 7, 2021 | https://github.com/microsoft/TypeScript/pull/47049#issuecomment-987467831 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47049 |
| @jakebailey | https://github.com/jakebailey |
| 5be2594 | https://github.com/microsoft/TypeScript/commit/5be259448bd9ad4e915cb8d8b628806cac229fc6 |
| here | https://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 page | https://github.com/microsoft/TypeScript/pull/47049 |
| https://github.com/typescript-bot |
| typescript-bot | https://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-bot | https://github.com/typescript-bot |
| Dec 7, 2021 | https://github.com/microsoft/TypeScript/pull/47049#issuecomment-987493333 |
| PR with the baseline diff from master | https://github.com/typescript-bot/TypeScript/pull/215 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47049 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| Dec 7, 2021 | https://github.com/microsoft/TypeScript/pull/47049#issuecomment-987497634 |
| @jakebailey | https://github.com/jakebailey |
| Download Benchmark | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/115963/artifacts?artifactName=benchmark&fileId=0EC7A60209132FC1563498A63AD8C27DB6946EA9BD0A607A5C54A3C07EF6F14402&fileName=linux.benchmark |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47049 |
| https://github.com/DanielRosenwasser |
| DanielRosenwasser | https://github.com/DanielRosenwasser |
| ahejlsberg | https://github.com/ahejlsberg |
| weswigham | https://github.com/weswigham |
| December 7, 2021 21:06 | https://github.com/microsoft/TypeScript/pull/47049#event-5730006766 |
| https://github.com/weswigham |
| weswigham | https://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.ts | https://github.com/microsoft/TypeScript/pull/47049/files/5be259448bd9ad4e915cb8d8b628806cac229fc6#diff-9ad14a2e2e66533cd0c3f02ecf01f7e6bc9d60cdf2e125df2a14ce0713222898 |
| weswigham | https://github.com/weswigham |
| Dec 7, 2021 | https://github.com/microsoft/TypeScript/pull/47049#discussion_r764368968 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47049 |
| jakebailey | https://github.com/jakebailey |
| Dec 7, 2021 | https://github.com/microsoft/TypeScript/pull/47049#discussion_r764370237 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47049 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| #44487 | https://github.com/microsoft/TypeScript/issues/44487 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47049 |
| jakebailey | https://github.com/jakebailey |
| Dec 7, 2021 | https://github.com/microsoft/TypeScript/pull/47049#discussion_r764371307 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47049 |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F47049 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47049 |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F47049 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47049 |
| jakebailey | https://github.com/jakebailey |
| Dec 7, 2021 | https://github.com/microsoft/TypeScript/pull/47049#discussion_r764388436 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47049 |
|
| https://github.com/jakebailey |
| Move maybeBindExpressionFlowIfCall into onLeft and onRight | https://github.com/microsoft/TypeScript/pull/47049/commits/6a1fa03d40288a2a82f7bcb05008099861d3d1f5 |
| 6a1fa03 | https://github.com/microsoft/TypeScript/pull/47049/commits/6a1fa03d40288a2a82f7bcb05008099861d3d1f5 |
| https://github.com/weswigham |
| weswigham | https://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 |
| jakebailey | https://github.com/jakebailey |
| e2c0033 | https://github.com/microsoft/TypeScript/commit/e2c00331d6daae6f35ebdef51602d0c8a73738fa |
| Jan 18, 2022 | https://github.com/microsoft/TypeScript/pull/47049#event-5912981639 |
| https://github.com/jakebailey |
| jakebailey | https://github.com/jakebailey |
| January 18, 2022 19:46 | https://github.com/microsoft/TypeScript/pull/47049#event-5912981845 |
| https://github.com/Andarist |
| Andarist | https://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 |
| microsoft | https://github.com/microsoft |
| Oct 22, 2025 | https://github.com/microsoft/TypeScript/pull/47049#event-20417475062 |
| 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%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 page | https://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 |
| 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 |