| 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:914c8bd3-8a1f-4e53-ec32-70974081db28 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BF74:1D6B7C:23E899:2D1815:6B0A0B25 |
| html-safe-nonce | 104cdc3291974c0286df94903f01450c3539dcded52bed21904b482f57ccf555 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjc0OjFENkI3QzoyM0U4OTk6MkQxODE1OjZCMEEwQjI1IiwidmlzaXRvcl9pZCI6Ijg5MDIyOTgyOTQwOTIwNjEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 44875edb968772ca688297bda0c871ec738bf8fe22755e272a460f18e8c9fa72 |
| hovercard-subject-tag | pull_request:5501489803 |
| 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/9423/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/9db15b4f408e9f3dc06ad6bdcc6aebc3944fc59b1bd9593dd7eb00f8e41d8723/rescript-lang/rescript/pull/9423 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9db15b4f408e9f3dc06ad6bdcc6aebc3944fc59b1bd9593dd7eb00f8e41d8723/rescript-lang/rescript/pull/9423 |
| og:image:alt | Part of #9398 (item 37). Found while reviewing the fixes for it.
Problem
JS doesn't allow a bare in in the initializer of a for header, so a start or end using Dict.has was a syntax error.
let ... |
| 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/9423#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frescript-lang%2Frescript%2Fpull%2F9423 |
| 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%2F9423 |
| 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/9423 |
| Reload | https://github.com/rescript-lang/rescript/pull/9423 |
| Reload | https://github.com/rescript-lang/rescript/pull/9423 |
| 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 |
| illusionalsagacity | https://github.com/illusionalsagacity |
| rescript-lang:master | https://github.com/rescript-lang/rescript/tree/master |
| illusionalsagacity:fix-for-loop-in-operator | https://github.com/illusionalsagacity/rescript-compiler/tree/fix-for-loop-in-operator |
| Conversation | https://github.com/rescript-lang/rescript/pull/9423 |
| Commits1 (1) | https://github.com/rescript-lang/rescript/pull/9423/commits |
| Checks | https://github.com/rescript-lang/rescript/pull/9423/checks |
| Files changed | https://github.com/rescript-lang/rescript/pull/9423/files |
| Parenthesise the in operator in a for loop's header | https://github.com/rescript-lang/rescript/pull/9423#top |
| illusionalsagacity | https://github.com/illusionalsagacity |
| rescript-lang:master | https://github.com/rescript-lang/rescript/tree/master |
| illusionalsagacity:fix-for-loop-in-operator | https://github.com/illusionalsagacity/rescript-compiler/tree/fix-for-loop-in-operator |
|
| https://github.com/illusionalsagacity |
| illusionalsagacity | https://github.com/illusionalsagacity |
| Nov 26, 2026 | https://github.com/rescript-lang/rescript/pull/9423#issue-6616493343 |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9423 |
| #9398 | https://github.com/rescript-lang/rescript/issues/9398 |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9423 |
| https://github.com/apps/codecov |
| codecov | https://github.com/apps/codecov |
| Nov 26, 2026 | https://github.com/rescript-lang/rescript/pull/9423#issuecomment-7178651174 |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9423 |
| Codecov | https://app.codecov.io/gh/rescript-lang/rescript/pull/9423?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang |
| ecb21d0 | https://app.codecov.io/gh/rescript-lang/rescript/commit/ecb21d0a24d0f820a270369339613d6676a19b9c?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang |
| 96b9d93 | https://app.codecov.io/gh/rescript-lang/rescript/commit/96b9d931437b3e092bde0acf52ab88080786920a?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/9423?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang |
| compiler/backend/ext_pp.ml | https://app.codecov.io/gh/rescript-lang/rescript/pull/9423?src=pr&el=tree&filepath=compiler%2Fbackend%2Fext_pp.ml&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang#diff-Y29tcGlsZXIvYmFja2VuZC9leHRfcHAubWw= |
| compiler/backend/js_dump.ml | https://app.codecov.io/gh/rescript-lang/rescript/pull/9423?src=pr&el=tree&filepath=compiler%2Fbackend%2Fjs_dump.ml&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang#diff-Y29tcGlsZXIvYmFja2VuZC9qc19kdW1wLm1s |
| 1 file with indirect coverage changes | https://app.codecov.io/gh/rescript-lang/rescript/pull/9423/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/9423 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Nov 26, 2026 | https://github.com/rescript-lang/rescript/pull/9423#issuecomment-7178655810 |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9423 |
| Semantic Diff | https://cdn.rescript-lang.org/semantic-diff/pr-9423/index.html?v=96b9d9314 |
| Full page | https://cdn.rescript-lang.org/semantic-diff/pr-9423/index.html?v=96b9d9314 |
| 96b9d93 | https://github.com/rescript-lang/rescript/commit/96b9d931437b3e092bde0acf52ab88080786920a |
| illusionalsagacity | https://github.com/illusionalsagacity |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9423 |
| 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/9423#issuecomment-7178865413 |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9423 |
| Open in StackBlitz | https://pkg.pr.new/template/5533f4fb-0e3e-43ed-976b-3bff7cc9c24a |
| 96b9d93 | https://github.com/rescript-lang/rescript/runs/140756716704 |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9423 |
| https://github.com/cknitt |
| cknitt | https://github.com/cknitt |
| Nov 26, 2026 | https://github.com/rescript-lang/rescript/pull/9423#issuecomment-7202566503 |
| @codex | https://github.com/codex |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9423 |
| 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/9423#issuecomment-7202571551 |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9423 |
| 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/9423 |
| 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/9423#issuecomment-7202625372 |
| 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/9423 |
| https://github.com/illusionalsagacity |
| illusionalsagacity | https://github.com/illusionalsagacity |
| November 27, 2026 20:00 | https://github.com/rescript-lang/rescript/pull/9423#event-37505007936 |
|
| https://github.com/illusionalsagacity |
| Parenthesise the in operator in a for loop's header | https://github.com/rescript-lang/rescript/pull/9423/commits/96b9d931437b3e092bde0acf52ab88080786920a |
| 96b9d93 | https://github.com/rescript-lang/rescript/pull/9423/commits/96b9d931437b3e092bde0acf52ab88080786920a |
| https://github.com/illusionalsagacity |
| illusionalsagacity | https://github.com/illusionalsagacity |
| force-pushed | https://github.com/rescript-lang/rescript/compare/3ccb78aa18b8e59d27256ee877827f0bbcd577ea..96b9d931437b3e092bde0acf52ab88080786920a |
| 3ccb78a | https://github.com/rescript-lang/rescript/commit/3ccb78aa18b8e59d27256ee877827f0bbcd577ea |
| 96b9d93 | https://github.com/rescript-lang/rescript/commit/96b9d931437b3e092bde0acf52ab88080786920a |
|
Compare
| https://github.com/rescript-lang/rescript/compare/3ccb78aa18b8e59d27256ee877827f0bbcd577ea..96b9d931437b3e092bde0acf52ab88080786920a |
| November 27, 2026 21:50 | https://github.com/rescript-lang/rescript/pull/9423#event-37511739755 |
| illusionalsagacity | https://github.com/illusionalsagacity |
|
Nov 27, 2026
| https://github.com/rescript-lang/rescript/pull/9423#ref-commit-bebfad9 |
|
| https://github.com/illusionalsagacity |
| Test a for loop's end temporary that uses in | https://github.com/illusionalsagacity/rescript-compiler/commit/bebfad9a92f75f7084222342f44f24d74e3ee83c |
| bebfad9 | https://github.com/illusionalsagacity/rescript-compiler/commit/bebfad9a92f75f7084222342f44f24d74e3ee83c |
| rescript-lang#9417 | https://github.com/rescript-lang/rescript/pull/9417 |
| rescript-lang#9423 | https://github.com/rescript-lang/rescript/pull/9423 |
| https://github.com/illusionalsagacity |
| illusionalsagacity | https://github.com/illusionalsagacity |
|
Nov 27, 2026
| https://github.com/rescript-lang/rescript/pull/9423#ref-pullrequest-6616490426 |
|
Give each for loop iteration its own variable when the start must run before the end
#9417
| https://github.com/rescript-lang/rescript/pull/9417 |
| 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%2F9423 |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9423 |
| Please reload this page | https://github.com/rescript-lang/rescript/pull/9423 |
|
| 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 |