| 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:04d15415-b1e8-9b56-6ddd-586f7de37f21 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 90FA:E89C2:10CA64E:1770095:6A61B9E0 |
| html-safe-nonce | a4928054c93efcf4ded1dde36b59e9551550f947d366d1f2c06a76f48984357e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEZBOkU4OUMyOjEwQ0E2NEU6MTc3MDA5NTo2QTYxQjlFMCIsInZpc2l0b3JfaWQiOiIxMTg2MjYwNjQ0NTY1OTg5ODU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 57f59ade49e2cf87aa79151648168f60ed3a9077318aa819cbde1509375f9a06 |
| hovercard-subject-tag | pull_request:3633076677 |
| 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/multikernel/kernelscript/19/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/8159d30e462dd12ae45b47fb008368f70b422ab0b4082ba644cb5257153d3e29/multikernel/kernelscript/pull/19 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8159d30e462dd12ae45b47fb008368f70b422ab0b4082ba644cb5257153d3e29/multikernel/kernelscript/pull/19 |
| og:image:alt | Summary
Two new statement forms for ergonomic map access, plus the doc and test work pinning them down.
if (var x = expr) { ... } else { ... } — declaration-as-condition. Binds x only inside the t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | congwang-mk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6f4633bcf01c1ad14b73fd07dd39ac31d61f3d3c2578ee08ec1792b7b351eeb9 |
| turbo-cache-control | no-cache |
| go-import | github.com/multikernel/kernelscript git https://github.com/multikernel/kernelscript.git |
| octolytics-dimension-user_id | 202362072 |
| octolytics-dimension-user_login | multikernel |
| octolytics-dimension-repository_id | 1019261571 |
| octolytics-dimension-repository_nwo | multikernel/kernelscript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1019261571 |
| octolytics-dimension-repository_network_root_nwo | multikernel/kernelscript |
| 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 | ac296ae7f21856f1f92adbad22f870b6fbb4b907 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/multikernel/kernelscript/pull/19#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmultikernel%2Fkernelscript%2Fpull%2F19 |
| 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 |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| 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%2Fmultikernel%2Fkernelscript%2Fpull%2F19 |
|
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=multikernel%2Fkernelscript |
| Reload | https://github.com/multikernel/kernelscript/pull/19 |
| Reload | https://github.com/multikernel/kernelscript/pull/19 |
| Reload | https://github.com/multikernel/kernelscript/pull/19 |
| Please reload this page | https://github.com/multikernel/kernelscript/pull/19 |
|
multikernel
| https://github.com/multikernel |
| kernelscript | https://github.com/multikernel/kernelscript |
|
Notifications
| https://github.com/login?return_to=%2Fmultikernel%2Fkernelscript |
|
Fork
23
| https://github.com/login?return_to=%2Fmultikernel%2Fkernelscript |
|
Star
501
| https://github.com/login?return_to=%2Fmultikernel%2Fkernelscript |
|
Code
| https://github.com/multikernel/kernelscript |
|
Issues
2
| https://github.com/multikernel/kernelscript/issues |
|
Pull requests
0
| https://github.com/multikernel/kernelscript/pulls |
|
Actions
| https://github.com/multikernel/kernelscript/actions |
|
Projects
| https://github.com/multikernel/kernelscript/projects |
|
Security and quality
0
| https://github.com/multikernel/kernelscript/security |
|
Insights
| https://github.com/multikernel/kernelscript/pulse |
|
Code
| https://github.com/multikernel/kernelscript |
|
Issues
| https://github.com/multikernel/kernelscript/issues |
|
Pull requests
| https://github.com/multikernel/kernelscript/pulls |
|
Actions
| https://github.com/multikernel/kernelscript/actions |
|
Projects
| https://github.com/multikernel/kernelscript/projects |
|
Security and quality
| https://github.com/multikernel/kernelscript/security |
|
Insights
| https://github.com/multikernel/kernelscript/pulse |
| congwang-mk | https://github.com/congwang-mk |
| main | https://github.com/multikernel/kernelscript/tree/main |
| iflet-and-map-field-compound | https://github.com/multikernel/kernelscript/tree/iflet-and-map-field-compound |
| Conversation | https://github.com/multikernel/kernelscript/pull/19 |
| Commits9 (9) | https://github.com/multikernel/kernelscript/pull/19/commits |
| Checks | https://github.com/multikernel/kernelscript/pull/19/checks |
| Files changed | https://github.com/multikernel/kernelscript/pull/19/files |
| Add if (var x = expr) and map[k].field op= rhs | https://github.com/multikernel/kernelscript/pull/19#top |
| congwang-mk | https://github.com/congwang-mk |
| main | https://github.com/multikernel/kernelscript/tree/main |
| iflet-and-map-field-compound | https://github.com/multikernel/kernelscript/tree/iflet-and-map-field-compound |
|
| https://github.com/congwang-mk |
| congwang-mk | https://github.com/congwang-mk |
| May 5, 2026 | https://github.com/multikernel/kernelscript/pull/19#issue-4387111364 |
| Claude Code | https://claude.com/claude-code |
| Please reload this page | https://github.com/multikernel/kernelscript/pull/19 |
| congwang-mk | https://github.com/congwang-mk |
| May 5, 2026 14:01 | https://github.com/multikernel/kernelscript/pull/19#commits-pushed-e4f979c |
|
| https://github.com/congwang-mk |
| feat: add if (var x = expr) declaration-as-condition | https://github.com/multikernel/kernelscript/pull/19/commits/e4f979c7bff205cbb38a7d77eaea2d4e01478137 |
| e4f979c | https://github.com/multikernel/kernelscript/pull/19/commits/e4f979c7bff205cbb38a7d77eaea2d4e01478137 |
|
| https://github.com/congwang-mk |
| feat: add map[key].field op= rhs compound assignment | https://github.com/multikernel/kernelscript/pull/19/commits/62b1cc7feb2ef44e0d2ae0582e1453d4ec55ca79 |
| 62b1cc7 | https://github.com/multikernel/kernelscript/pull/19/commits/62b1cc7feb2ef44e0d2ae0582e1453d4ec55ca79 |
|
| https://github.com/congwang-mk |
| docs(examples): adopt elegant if (var x = m[k]) idiom in map demos | https://github.com/multikernel/kernelscript/pull/19/commits/ca701a754615a9ad50d25e5ab9cb8dfb6fde0a19 |
| ca701a7 | https://github.com/multikernel/kernelscript/pull/19/commits/ca701a754615a9ad50d25e5ab9cb8dfb6fde0a19 |
|
| https://github.com/congwang-mk |
| docs: document if (var x = expr) and m[k].field op= rhs in README… | https://github.com/multikernel/kernelscript/pull/19/commits/7044637bc4598134fbef9f4455c9332e07d494b9 |
| 7044637 | https://github.com/multikernel/kernelscript/pull/19/commits/7044637bc4598134fbef9f4455c9332e07d494b9 |
|
| https://github.com/congwang-mk |
| test: lock in Phase 1 IfLet and Phase 2 codegen behaviour | https://github.com/multikernel/kernelscript/pull/19/commits/814e33652e997d53fe8ce85e63d4ba4777d3cbc9 |
| 814e336 | https://github.com/multikernel/kernelscript/pull/19/commits/814e33652e997d53fe8ce85e63d4ba4777d3cbc9 |
|
| https://github.com/congwang-mk |
| feat: drop none literal in favour of null | https://github.com/multikernel/kernelscript/pull/19/commits/e0ddcd98565edb417944785c099b2eb4a36ec7b1 |
| e0ddcd9 | https://github.com/multikernel/kernelscript/pull/19/commits/e0ddcd98565edb417944785c099b2eb4a36ec7b1 |
|
| https://github.com/congwang-mk |
| docs(examples,README,SPEC): adopt if (var x = expr) for remaining p… | https://github.com/multikernel/kernelscript/pull/19/commits/d5f25c18f02f795faa7bf2573b85cff6999be8c2 |
| d5f25c1 | https://github.com/multikernel/kernelscript/pull/19/commits/d5f25c18f02f795faa7bf2573b85cff6999be8c2 |
| https://github.com/congwang-mk |
| congwang-mk | https://github.com/congwang-mk |
| force-pushed | https://github.com/multikernel/kernelscript/compare/00ad00302802b7f1a08b056e40e2337bfefafe99..d5f25c18f02f795faa7bf2573b85cff6999be8c2 |
| 00ad003 | https://github.com/multikernel/kernelscript/commit/00ad00302802b7f1a08b056e40e2337bfefafe99 |
| d5f25c1 | https://github.com/multikernel/kernelscript/commit/d5f25c18f02f795faa7bf2573b85cff6999be8c2 |
|
Compare
| https://github.com/multikernel/kernelscript/compare/00ad00302802b7f1a08b056e40e2337bfefafe99..d5f25c18f02f795faa7bf2573b85cff6999be8c2 |
| May 5, 2026 21:37 | https://github.com/multikernel/kernelscript/pull/19#event-25195171545 |
| https://github.com/congwang-mk |
| congwang-mk | https://github.com/congwang-mk |
| May 5, 2026 | https://github.com/multikernel/kernelscript/pull/19#event-25195441813 |
| https://github.com/congwang-mk |
| congwang-mk | https://github.com/congwang-mk |
| May 5, 2026 | https://github.com/multikernel/kernelscript/pull/19#event-25195442778 |
| https://github.com/SiyuanSun0736 |
| SiyuanSun0736 | https://github.com/SiyuanSun0736 |
| May 6, 2026 | https://github.com/multikernel/kernelscript/pull/19#issuecomment-4387472930 |
| Please reload this page | https://github.com/multikernel/kernelscript/pull/19 |
| congwang-mk | https://github.com/congwang-mk |
| May 6, 2026 13:29 | https://github.com/multikernel/kernelscript/pull/19#commits-pushed-ccd2324 |
|
| https://github.com/congwang-mk |
| fix(ir-gen): scope IfLet binding to its then-branch via alias table | https://github.com/multikernel/kernelscript/pull/19/commits/ccd232455f409b17649d8d355cfb7aa9276fb862 |
| ccd2324 | https://github.com/multikernel/kernelscript/pull/19/commits/ccd232455f409b17649d8d355cfb7aa9276fb862 |
| @SiyuanSun0736 | https://github.com/SiyuanSun0736 |
| #19 | https://github.com/multikernel/kernelscript/pull/19 |
|
| https://github.com/congwang-mk |
| fix(type-checker): restrict if (var x = expr) RHS to presence-produ… | https://github.com/multikernel/kernelscript/pull/19/commits/198fe92d7e5b0c12a70ce05ef9418f3bdca7ebd7 |
| 198fe92 | https://github.com/multikernel/kernelscript/pull/19/commits/198fe92d7e5b0c12a70ce05ef9418f3bdca7ebd7 |
| @SiyuanSun0736 | https://github.com/SiyuanSun0736 |
| #19 | https://github.com/multikernel/kernelscript/pull/19 |
| https://github.com/congwang-mk |
| congwang-mk | https://github.com/congwang-mk |
| 82279e5 | https://github.com/multikernel/kernelscript/commit/82279e5cd1d9946b8612d62503e3bba6818e26b8 |
| May 8, 2026 | https://github.com/multikernel/kernelscript/pull/19#event-25324437159 |
| Please reload this page | https://github.com/multikernel/kernelscript/pull/19 |
| https://github.co/hiddenchars |
| https://github.com/multikernel/kernelscript/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%2Fmultikernel%2Fkernelscript%2Fpull%2F19 |
| Please reload this page | https://github.com/multikernel/kernelscript/pull/19 |
|
| https://github.com/congwang-mk |
|
| https://github.com/SiyuanSun0736 |
|
| 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 |