| 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/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:8f853f68-3b21-54de-71c3-a4285c7304b0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DC8C:A7214:27A37F:30048D:6B0A0DBF |
| html-safe-nonce | 279cc5692e2922eafdbc874fad2428bbad35f7d4a031b0008b6a7022ad0b3db1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzhDOkE3MjE0OjI3QTM3RjozMDA0OEQ6NkIwQTBEQkYiLCJ2aXNpdG9yX2lkIjoiNTkzMTY1OTczMjM0NzEyOTI3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c3f3ac0948bb9ebfdd359aeb9388b0b6970726f85a4dd4f9a982a7505dc6cc08 |
| hovercard-subject-tag | pull_request:5501487767 |
| 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/rescript-lang/rescript/9418/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/675431d04c99cf20c0f50b2bd3d75c955fdf688bcb6e7ab287bad64e32d54aa4/rescript-lang/rescript/pull/9418 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/675431d04c99cf20c0f50b2bd3d75c955fdf688bcb6e7ab287bad64e32d54aa4/rescript-lang/rescript/pull/9418 |
| og:image:alt | Part of #9398 (item 11).
Problem
When the highest cases of a dense int or char switch go to the failure action (for example because the last case is unreachable), the last failure interval stopped ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | illusionalsagacity |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7c47183a73008933468557b28d2500e2ea7619094b9fe68a81910d76811eeb3c |
| turbo-cache-control | no-cache |
| go-import | github.com/rescript-lang/rescript git https://github.com/rescript-lang/rescript.git |
| octolytics-dimension-user_id | 29257325 |
| octolytics-dimension-user_login | rescript-lang |
| octolytics-dimension-repository_id | 49159983 |
| octolytics-dimension-repository_nwo | rescript-lang/rescript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49159983 |
| octolytics-dimension-repository_network_root_nwo | rescript-lang/rescript |
| 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 | 206ca5e2e4c7feca284ad1771fa08530fd32785c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/rescript-lang/rescript/pull/9418#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frescript-lang%2Frescript%2Fpull%2F9418 |
| 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%2Frescript-lang%2Frescript%2Fpull%2F9418 |
| 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=rescript-lang%2Frescript |
| Reload | https://github.com/rescript-lang/rescript/pull/9418 |
| Reload | https://github.com/rescript-lang/rescript/pull/9418 |
| Reload | https://github.com/rescript-lang/rescript/pull/9418 |
| rescript-lang | https://github.com/rescript-lang |
| rescript | https://github.com/rescript-lang/rescript |
| Code | https://github.com/rescript-lang/rescript |
| Issues110 (110) | https://github.com/rescript-lang/rescript/issues |
| Pull requests99 (99) | https://github.com/rescript-lang/rescript/pulls |
| Discussions | https://github.com/rescript-lang/rescript/discussions |
| Actions | https://github.com/rescript-lang/rescript/actions |
| Projects | https://github.com/rescript-lang/rescript/projects |
| Security and quality | https://github.com/rescript-lang/rescript/security |
| Insights | https://github.com/rescript-lang/rescript/insights |
| https://github.com/rescript-lang/rescript |
| cknitt | https://github.com/cknitt |
| rescript-lang:master | https://github.com/rescript-lang/rescript/tree/master |
| illusionalsagacity:fix-dense-switch-default | https://github.com/illusionalsagacity/rescript-compiler/tree/fix-dense-switch-default |
| Conversation | https://github.com/rescript-lang/rescript/pull/9418 |
| Commits1 (1) | https://github.com/rescript-lang/rescript/pull/9418/commits |
| Checks | https://github.com/rescript-lang/rescript/pull/9418/checks |
| Files changed | https://github.com/rescript-lang/rescript/pull/9418/files |
| Keep the default of a dense int switch ending in an unreachable case | https://github.com/rescript-lang/rescript/pull/9418#top |
| cknitt | https://github.com/cknitt |
| rescript-lang:master | https://github.com/rescript-lang/rescript/tree/master |
| illusionalsagacity:fix-dense-switch-default | https://github.com/illusionalsagacity/rescript-compiler/tree/fix-dense-switch-default |
|
| https://github.com/illusionalsagacity |
| illusionalsagacity | https://github.com/illusionalsagacity |
| Nov 26, 2026 | https://github.com/rescript-lang/rescript/pull/9418#issue-6616490926 |
| #9398 | https://github.com/rescript-lang/rescript/issues/9398 |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9418 |
|
| https://github.com/illusionalsagacity |
| Keep the default of a dense int switch ending in an unreachable case | https://github.com/rescript-lang/rescript/pull/9418/commits/5052dbef1256b4bcdfa52112336b338a26da0fae |
| 5052dbe | https://github.com/rescript-lang/rescript/pull/9418/commits/5052dbef1256b4bcdfa52112336b338a26da0fae |
| @warning | https://github.com/warning |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Nov 26, 2026 | https://github.com/rescript-lang/rescript/pull/9418#issuecomment-7178546923 |
| Semantic Diff | https://cdn.rescript-lang.org/semantic-diff/pr-9418/index.html?v=5052dbef1 |
| Full page | https://cdn.rescript-lang.org/semantic-diff/pr-9418/index.html?v=5052dbef1 |
| 5052dbe | https://github.com/rescript-lang/rescript/commit/5052dbef1256b4bcdfa52112336b338a26da0fae |
| illusionalsagacity | https://github.com/illusionalsagacity |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9418 |
| https://github.com/apps/codecov |
| codecov | https://github.com/apps/codecov |
| Nov 26, 2026 | https://github.com/rescript-lang/rescript/pull/9418#issuecomment-7178636568 |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9418 |
| Codecov | https://app.codecov.io/gh/rescript-lang/rescript/pull/9418?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang |
| 45dba2c | https://app.codecov.io/gh/rescript-lang/rescript/commit/45dba2c9137d6be765c1d8d45f287d739e028498?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang |
| 5052dbe | https://app.codecov.io/gh/rescript-lang/rescript/commit/5052dbef1256b4bcdfa52112336b338a26da0fae?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang |
| Files with missing lines | https://app.codecov.io/gh/rescript-lang/rescript/pull/9418?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang |
| compiler/typing/matching.ml | https://app.codecov.io/gh/rescript-lang/rescript/pull/9418?src=pr&el=tree&filepath=compiler%2Ftyping%2Fmatching.ml&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang#diff-Y29tcGlsZXIvdHlwaW5nL21hdGNoaW5nLm1s |
| 4 files with indirect coverage changes | https://app.codecov.io/gh/rescript-lang/rescript/pull/9418/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang |
| Test Analytics | https://docs.codecov.com/docs/test-analytics |
| JS Bundle Analysis | https://docs.codecov.com/docs/javascript-bundle-analysis |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9418 |
| https://github.com/apps/pkg-pr-new |
| pkg-pr-new | https://github.com/apps/pkg-pr-new |
| Nov 26, 2026 | https://github.com/rescript-lang/rescript/pull/9418#issuecomment-7178684140 |
| Open in StackBlitz | https://pkg.pr.new/template/7724b8bf-967b-4c2d-9eaf-314c31356f76 |
| 5052dbe | https://github.com/rescript-lang/rescript/runs/139603436113 |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9418 |
| https://github.com/cknitt |
| cknitt | https://github.com/cknitt |
| Nov 26, 2026 | https://github.com/rescript-lang/rescript/pull/9418#issuecomment-7202564131 |
| @codex | https://github.com/codex |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9418 |
| https://github.com/apps/chatgpt-codex-connector |
| chatgpt-codex-connector | https://github.com/apps/chatgpt-codex-connector |
| Nov 26, 2026 | https://github.com/rescript-lang/rescript/pull/9418#issuecomment-7202570725 |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9418 |
| Your team has set up Codex to review pull requests in this repo | https://chatgpt.com/codex/cloud/settings/general |
| @codex | https://github.com/codex |
| @codex | https://github.com/codex |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9418 |
| https://github.com/apps/chatgpt-codex-connector |
| chatgpt-codex-connector | https://github.com/apps/chatgpt-codex-connector |
| Nov 26, 2026 | https://github.com/rescript-lang/rescript/pull/9418#issuecomment-7202621771 |
| Your team has set up Codex to review pull requests in this repo | https://chatgpt.com/codex/cloud/settings/general |
| @codex | https://github.com/codex |
| @codex | https://github.com/codex |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9418 |
| https://github.com/illusionalsagacity |
| illusionalsagacity | https://github.com/illusionalsagacity |
| November 27, 2026 20:00 | https://github.com/rescript-lang/rescript/pull/9418#event-37505002217 |
| https://github.com/cknitt |
| cknitt | https://github.com/cknitt |
|
Nov 27, 2026
| https://github.com/rescript-lang/rescript/pull/9418#pullrequestreview-6093248106 |
|
View reviewed changes
| https://github.com/rescript-lang/rescript/pull/9418/files/5052dbef1256b4bcdfa52112336b338a26da0fae |
| cknitt | https://github.com/cknitt |
| https://github.com/rescript-lang/rescript/pull/9418#pullrequestreview-6093248106 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9418 |
| https://github.com/cknitt |
| cknitt | https://github.com/cknitt |
| ea323ae | https://github.com/rescript-lang/rescript/commit/ea323ae326d48ab8dba98281b240064342d49012 |
| Nov 27, 2026 | https://github.com/rescript-lang/rescript/pull/9418#event-37508297295 |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9418 |
| https://github.com/illusionalsagacity |
| illusionalsagacity | https://github.com/illusionalsagacity |
| November 27, 2026 21:50 | https://github.com/rescript-lang/rescript/pull/9418#event-37511757192 |
| illusionalsagacity | https://github.com/illusionalsagacity |
|
Nov 27, 2026
| https://github.com/rescript-lang/rescript/pull/9418#ref-commit-eaa2730 |
|
| https://github.com/illusionalsagacity |
| Link the CHANGELOG entry to | https://github.com/illusionalsagacity/rescript-compiler/commit/eaa2730a10a05f50a8b2bb728cffb5849be8bf74 |
| rescript-lang#9418 | https://github.com/rescript-lang/rescript/pull/9418 |
| eaa2730 | https://github.com/illusionalsagacity/rescript-compiler/commit/eaa2730a10a05f50a8b2bb728cffb5849be8bf74 |
| rescript-lang#9418 | https://github.com/rescript-lang/rescript/pull/9418 |
| ea323ae | https://github.com/illusionalsagacity/rescript-compiler/commit/ea323ae326d48ab8dba98281b240064342d49012 |
| https://github.com/illusionalsagacity |
| illusionalsagacity | https://github.com/illusionalsagacity |
|
Nov 27, 2026
| https://github.com/rescript-lang/rescript/pull/9418#ref-pullrequest-6655004054 |
|
[12.x] Keep the default of a dense int switch ending in an unreachable case
#9453
| https://github.com/rescript-lang/rescript/pull/9453 |
| https://github.co/hiddenchars |
| https://github.com/rescript-lang/rescript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frescript-lang%2Frescript%2Fpull%2F9418 |
|
| https://github.com/cknitt |
|
cknitt
| https://github.com/cknitt |
|
| https://github.com/rescript-lang/rescript/pull/9418/files/5052dbef1256b4bcdfa52112336b338a26da0fae |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9418 |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9418 |
|
| https://github.com/illusionalsagacity |
|
| https://github.com/cknitt |
|
| 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 |