René's URL Explorer Experiment


Title: Disallow void branches by DanielRosenwasser · Pull Request #7261 · microsoft/TypeScript · GitHub

Open Graph Title: Disallow void branches by DanielRosenwasser · Pull Request #7261 · microsoft/TypeScript

X Title: Disallow void branches by DanielRosenwasser · Pull Request #7261 · microsoft/TypeScript

Description: Fixes #7256 Open questions: Should we cover null/undefined types? TODO: Conditional expressions Negation expressions.

Open Graph Description: Fixes #7256 Open questions: Should we cover null/undefined types? TODO: Conditional expressions Negation expressions.

X Description: Fixes #7256 Open questions: Should we cover null/undefined types? TODO: Conditional expressions Negation expressions.

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:56fc53ba-300f-3de1-03a9-51944c30dc1a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA5A6:1CAB40:12708DB:19E51FA:6B04558B
html-safe-nonce9a6ca8eaf17078ffe026515df7eeea66024871449439fade1d05b9b5705f7ab2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUE2OjFDQUI0MDoxMjcwOERCOjE5RTUxRkE6NkIwNDU1OEIiLCJ2aXNpdG9yX2lkIjoiNTYzMTkzNjgzNTQ1OTc2NTY0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca3560ddd786e71951be4620e6964b2d8a254d3952a43073138f4922fcd2893db
hovercard-subject-tagpull_request:60888804
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/microsoft/TypeScript/pull/7261/files
twitter:imagehttps://avatars.githubusercontent.com/u/972891?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/972891?s=400&v=4
og:image:altFixes #7256 Open questions: Should we cover null/undefined types? TODO: Conditional expressions Negation expressions.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None910ca0e260cfec6aff11407d8dc6a0d3a4cd381a2ec9ada56627b063426892a0
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee086f9b7e88322eb2b41885a6ad425b215737fa5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/7261/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F7261%2Ffiles
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%2F7261%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/pull/7261/files
Reloadhttps://github.com/microsoft/TypeScript/pull/7261/files
Reloadhttps://github.com/microsoft/TypeScript/pull/7261/files
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests320 (320)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
Sign up for GitHub https://github.com/signup?return_to=%2Fmicrosoft%2FTypeScript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmicrosoft%2FTypeScript%2Fissues%2Fnew%2Fchoose
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
masterhttps://github.com/microsoft/TypeScript/tree/master
noVoidBrancheshttps://github.com/microsoft/TypeScript/tree/noVoidBranches
Conversation 9 https://github.com/microsoft/TypeScript/pull/7261
Commits 7 https://github.com/microsoft/TypeScript/pull/7261/commits
Checks 0 https://github.com/microsoft/TypeScript/pull/7261/checks
Files changed https://github.com/microsoft/TypeScript/pull/7261/files
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/7261/files
Disallow void branches https://github.com/microsoft/TypeScript/pull/7261/files#top
Show all changes 7 commits https://github.com/microsoft/TypeScript/pull/7261/files
aa4ea10 Add checking for 'void' in '||', '&&', and branching statements. DanielRosenwasser Feb 26, 2016 https://github.com/microsoft/TypeScript/pull/7261/commits/aa4ea10bc5b8fa36bd22a24c86a23e299b0e7853
cf3182d Accepted baselines. DanielRosenwasser Feb 26, 2016 https://github.com/microsoft/TypeScript/pull/7261/commits/cf3182d4801bf45dc59100ecca5bec69e9970f0a
72fe336 Error on void tested expressions for logical not and conditional expr… DanielRosenwasser Feb 27, 2016 https://github.com/microsoft/TypeScript/pull/7261/commits/72fe3361f2b475e227e787011eb83e399055ed73
0c79f97 Accepted baselines. DanielRosenwasser Feb 27, 2016 https://github.com/microsoft/TypeScript/pull/7261/commits/0c79f9726e67fd683d4feeca7e25d3e1978a32ae
6cd31f7 Minor function rename. DanielRosenwasser Mar 9, 2016 https://github.com/microsoft/TypeScript/pull/7261/commits/6cd31f7096ce8dda15338104622ff1b3ad35fb64
5992d53 Merge branch 'master' into noVoidBranches DanielRosenwasser Apr 8, 2016 https://github.com/microsoft/TypeScript/pull/7261/commits/5992d5386a5c0aff3a1947f8644c7f3f7a2c71af
eacae36 Merge branch 'master' into noVoidBranches DanielRosenwasser May 25, 2016 https://github.com/microsoft/TypeScript/pull/7261/commits/eacae366c71b025d13fa951a81d996c43da3ffc2
Clear filters https://github.com/microsoft/TypeScript/pull/7261/files
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/7261/files
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/7261/files
checker.ts https://github.com/microsoft/TypeScript/pull/7261/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
diagnosticMessages.json https://github.com/microsoft/TypeScript/pull/7261/files#diff-fdf3f532dc2d3188ad1c05c8c9e064d0aa4143b8ba09b8f3313a0243f0a43eff
conditionalOperatorConditionIsObjectType.errors.txt https://github.com/microsoft/TypeScript/pull/7261/files#diff-1f02fa336ff8c9aadee52b4bae7ccf61ff5d30f444fa285db37836e8e32307ae
conditionalOperatorConditionIsObjectType.types https://github.com/microsoft/TypeScript/pull/7261/files#diff-2d1ffd673c9625613225719a9125a17e95ea7ce4493ec60a6f730a718031db30
logicalAndOperatorWithEveryType.errors.txt https://github.com/microsoft/TypeScript/pull/7261/files#diff-950e7c1b7a95a1767d771162329f20401e2f5a039d128bf9a994bf39204b022b
logicalAndOperatorWithEveryType.symbols https://github.com/microsoft/TypeScript/pull/7261/files#diff-b59e3c3958664ae3092ff1d262d32f52b5b2bbc9dce00d4696715e7335702eb2
logicalOrOperatorWithEveryType.errors.txt https://github.com/microsoft/TypeScript/pull/7261/files#diff-9682b9ad5edaeace6375d50235ea9a5019dc51b0894f657616ef5010f698491f
logicalOrOperatorWithEveryType.symbols https://github.com/microsoft/TypeScript/pull/7261/files#diff-569e98f26750787ccc99b9455391f9f0d3791a07ffe930e71b1b53881025ba6a
logicalOrOperatorWithEveryType.types https://github.com/microsoft/TypeScript/pull/7261/files#diff-013c5166420ef38fde07463e509e6324d9dd40c4a02188a2f44223f0b67f5067
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/7261/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
View file https://github.com/microsoft/TypeScript/blob/eacae366c71b025d13fa951a81d996c43da3ffc2/src/compiler/checker.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/7261/{{ revealButtonHref }}
https://github.com/microsoft/TypeScript/pull/7261/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
https://github.com/microsoft/TypeScript/pull/7261/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
https://github.com/microsoft/TypeScript/pull/7261/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
https://github.com/microsoft/TypeScript/pull/7261/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
https://github.com/microsoft/TypeScript/pull/7261/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
https://github.com/microsoft/TypeScript/pull/7261/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
https://github.com/microsoft/TypeScript/pull/7261/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
https://github.com/microsoft/TypeScript/pull/7261/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
https://github.com/microsoft/TypeScript/pull/7261/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
https://github.com/microsoft/TypeScript/pull/7261/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
https://github.com/microsoft/TypeScript/pull/7261/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
https://github.com/microsoft/TypeScript/pull/7261/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
https://github.com/microsoft/TypeScript/pull/7261/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
https://github.com/microsoft/TypeScript/pull/7261/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
https://github.com/microsoft/TypeScript/pull/7261/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
https://github.com/microsoft/TypeScript/pull/7261/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
https://github.com/microsoft/TypeScript/pull/7261/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
src/compiler/diagnosticMessages.jsonhttps://github.com/microsoft/TypeScript/pull/7261/files#diff-fdf3f532dc2d3188ad1c05c8c9e064d0aa4143b8ba09b8f3313a0243f0a43eff
View file https://github.com/microsoft/TypeScript/blob/eacae366c71b025d13fa951a81d996c43da3ffc2/src/compiler/diagnosticMessages.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/7261/{{ revealButtonHref }}
https://github.com/microsoft/TypeScript/pull/7261/files#diff-fdf3f532dc2d3188ad1c05c8c9e064d0aa4143b8ba09b8f3313a0243f0a43eff
https://github.com/microsoft/TypeScript/pull/7261/files#diff-fdf3f532dc2d3188ad1c05c8c9e064d0aa4143b8ba09b8f3313a0243f0a43eff
https://github.com/microsoft/TypeScript/pull/7261/files#diff-fdf3f532dc2d3188ad1c05c8c9e064d0aa4143b8ba09b8f3313a0243f0a43eff
https://github.com/microsoft/TypeScript/pull/7261/files#diff-fdf3f532dc2d3188ad1c05c8c9e064d0aa4143b8ba09b8f3313a0243f0a43eff
tests/baselines/reference/conditionalOperatorConditionIsObjectType.errors.txthttps://github.com/microsoft/TypeScript/pull/7261/files#diff-1f02fa336ff8c9aadee52b4bae7ccf61ff5d30f444fa285db37836e8e32307ae
View file https://github.com/microsoft/TypeScript/blob/eacae366c71b025d13fa951a81d996c43da3ffc2/tests/baselines/reference/conditionalOperatorConditionIsObjectType.errors.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/7261/{{ revealButtonHref }}
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/7261/files
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.