| 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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a2b70e92-92f1-bdbb-ecfb-800389fd50bf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 914C:34D7A7:9971C9:CE6B43:6B00473D |
| html-safe-nonce | 4815386c9c205cca874829f2c89cfda24194d7d45d3e1dc75f30a31d55fcebe9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTRDOjM0RDdBNzo5OTcxQzk6Q0U2QjQzOjZCMDA0NzNEIiwidmlzaXRvcl9pZCI6IjIwMTI2MzUxNTQzMDgxNTUxOTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 01bf873dde16b58638254e51f0b03a3aa186a5cdaaa7efce68f973e2b86fbd2d |
| hovercard-subject-tag | issue:448308154 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/issues_fragments/issue_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/mypy/6898/issue_layout |
| twitter:image | https://opengraph.githubassets.com/53a35724c633ce5cc7a1f4f0240691a8cec3a9672faf8629e6c9c151162546e7/python/mypy/issues/6898 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/53a35724c633ce5cc7a1f4f0240691a8cec3a9672faf8629e6c9c151162546e7/python/mypy/issues/6898 |
| og:image:alt | Are you reporting a bug, or opening a feature request? Bug Please insert below the code you are checking with mypy, or a mock-up repro if the source is private. We would appreciate if you try to si... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| 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 | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
| Skip to content | https://github.com/python/mypy/issues/6898#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fissues%2F6898 |
| 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%2Fpython%2Fmypy%2Fissues%2F6898 |
| 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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fmypy |
| Reload | https://github.com/python/mypy/issues/6898 |
| Reload | https://github.com/python/mypy/issues/6898 |
| Reload | https://github.com/python/mypy/issues/6898 |
| python | https://github.com/python |
| mypy | https://github.com/python/mypy |
| Code | https://github.com/python/mypy |
| Issues2.7k (2.7k) | https://github.com/python/mypy/issues |
| Pull requests545 (545) | https://github.com/python/mypy/pulls |
| Actions | https://github.com/python/mypy/actions |
| Projects | https://github.com/python/mypy/projects |
| Wiki | https://github.com/python/mypy/wiki |
| Security and quality | https://github.com/python/mypy/security |
| Insights | https://github.com/python/mypy/insights |
| https://github.com/python/mypy |
| New issue | https://github.com/login?return_to=https://github.com/python/mypy/issues/6898 |
| New issue | https://github.com/login?return_to=https://github.com/python/mypy/issues/6898 |
| #19249 | https://github.com/python/mypy/pull/19249 |
| False error in conditional expression returning union | https://github.com/python/mypy/issues/6898#top |
| #19249 | https://github.com/python/mypy/pull/19249 |
| bugmypy got something wrong | https://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22 |
| false-positivemypy gave an error on correct code | https://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22false-positive%22 |
| priority-1-normal | https://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22priority-1-normal%22 |
| topic-ternary-expressiona if b else c | https://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-ternary-expression%22 |
| topic-type-variables | https://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-type-variables%22 |
| https://github.com/ghost |
| ghost | https://github.com/ghost |
| on May 24, 2019 | https://github.com/python/mypy/issues/6898#issue-448308154 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| bugmypy got something wrong | https://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22 |
| false-positivemypy gave an error on correct code | https://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22false-positive%22 |
| priority-1-normal | https://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22priority-1-normal%22 |
| topic-type-variables | https://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-type-variables%22 |
| on May 26, 2019 | https://github.com/python/mypy/issues/6898#event-2368010398 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| on May 26, 2019 | https://github.com/python/mypy/issues/6898#issuecomment-496033357 |
| https://github.com/utkarshgupta137 |
| utkarshgupta137 | https://github.com/utkarshgupta137 |
| on Jun 8, 2021 | https://github.com/python/mypy/issues/6898#issuecomment-856901612 |
| AlexWaygood | https://github.com/AlexWaygood |
| topic-ternary-expressiona if b else c | https://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-ternary-expression%22 |
| on Mar 28, 2022 | https://github.com/python/mypy/issues/6898#event-6316890849 |
| JukkaL | https://github.com/JukkaL |
| completed | https://github.com/python/mypy/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted |
| 2ba79cb | https://github.com/python/mypy/commit/2ba79cba94c8a416c16877c1532932662ea20d40 |
| on Jun 13, 2025 | https://github.com/python/mypy/issues/6898#event-18136488939 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| on Jun 13, 2025 | https://github.com/python/mypy/issues/6898#event-18136895151 |
| Use union of current context and left side for right side narrowing o… | https://github.com/ilevkivskyi/mypy/commit/2ba79cba94c8a416c16877c1532932662ea20d40 |
| https://docs.github.com/articles/closing-issues-via-commit-messages |
| 2ba79cb | https://github.com/ilevkivskyi/mypy/commit/2ba79cba94c8a416c16877c1532932662ea20d40 |
| Sign up for free | https://github.com/signup?return_to=https://github.com/python/mypy/issues/6898 |
| Sign in to comment | https://github.com/login?return_to=https://github.com/python/mypy/issues/6898 |
| bugmypy got something wrong | https://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22 |
| false-positivemypy gave an error on correct code | https://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22false-positive%22 |
| priority-1-normal | https://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22priority-1-normal%22 |
| topic-ternary-expressiona if b else c | https://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-ternary-expression%22 |
| topic-type-variables | https://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-type-variables%22 |
|
| 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 |