René's URL Explorer Experiment


Title: Evaluate arguments left to right when a later one compiles to statements by cknitt · Pull Request #9159 · rescript-lang/rescript · GitHub

Open Graph Title: Evaluate arguments left to right when a later one compiles to statements by cknitt · Pull Request #9159 · rescript-lang/rescript

X Title: Evaluate arguments left to right when a later one compiles to statements by cknitt · Pull Request #9159 · rescript-lang/rescript

Description: ReScript is a robustly typed language that compiles to efficient and human-readable JavaScript. - Evaluate arguments left to right when a later one compiles to statements by cknitt · Pull Request #9159 · rescript-lang/rescript

Open Graph Description: Fixes #9154. When an argument of a call, or an element of an array, tuple, record or dict literal, compiled to statements, those statements were emitted before the whole expression, so they ran bef...

X Description: Fixes #9154. When an argument of a call, or an element of an array, tuple, record or dict literal, compiled to statements, those statements were emitted before the whole expression, so they ran bef...

Opengraph URL: https://github.com/rescript-lang/rescript/pull/9159

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:eb34d247-cd57-1c8f-9e1e-a8a0e90020eb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBC04:20A877:21198E:278BD2:6B0A1828
html-safe-nonce16a158b85e2c6fc7fbac3c310e80056f776e5530ef33862bdab1ce4d1e8fa15e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzA0OjIwQTg3NzoyMTE5OEU6Mjc4QkQyOjZCMEExODI4IiwidmlzaXRvcl9pZCI6IjUyNTUyMjU1ODQ2NDA0NjQ5MzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac39136b89d7ac0d8f6d3c32927a5d8799d85367141170c92896f783b42779f978
hovercard-subject-tagpull_request:5105315184
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/rescript-lang/rescript/9159/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5ca5776c287df51e425fc5255873d67424cb8dbd94681b6727f645780dc3998a/rescript-lang/rescript/pull/9159
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5ca5776c287df51e425fc5255873d67424cb8dbd94681b6727f645780dc3998a/rescript-lang/rescript/pull/9159
og:image:altFixes #9154. When an argument of a call, or an element of an array, tuple, record or dict literal, compiled to statements, those statements were emitted before the whole expression, so they ran bef...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecknitt
hostnamegithub.com
expected-hostnamegithub.com
None7c47183a73008933468557b28d2500e2ea7619094b9fe68a81910d76811eeb3c
turbo-cache-controlno-cache
go-importgithub.com/rescript-lang/rescript git https://github.com/rescript-lang/rescript.git
octolytics-dimension-user_id29257325
octolytics-dimension-user_loginrescript-lang
octolytics-dimension-repository_id49159983
octolytics-dimension-repository_nworescript-lang/rescript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49159983
octolytics-dimension-repository_network_root_nworescript-lang/rescript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release206ca5e2e4c7feca284ad1771fa08530fd32785c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/rescript-lang/rescript/pull/9159#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frescript-lang%2Frescript%2Fpull%2F9159
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%2Frescript-lang%2Frescript%2Fpull%2F9159
Sign uphttps://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
Reloadhttps://github.com/rescript-lang/rescript/pull/9159
Reloadhttps://github.com/rescript-lang/rescript/pull/9159
Reloadhttps://github.com/rescript-lang/rescript/pull/9159
rescript-langhttps://github.com/rescript-lang
rescripthttps://github.com/rescript-lang/rescript
Codehttps://github.com/rescript-lang/rescript
Issues110 (110)https://github.com/rescript-lang/rescript/issues
Pull requests99 (99)https://github.com/rescript-lang/rescript/pulls
Discussionshttps://github.com/rescript-lang/rescript/discussions
Actionshttps://github.com/rescript-lang/rescript/actions
Projectshttps://github.com/rescript-lang/rescript/projects
Security and qualityhttps://github.com/rescript-lang/rescript/security
Insightshttps://github.com/rescript-lang/rescript/insights
https://github.com/rescript-lang/rescript
cknitthttps://github.com/cknitt
masterhttps://github.com/rescript-lang/rescript/tree/master
fix-argument-evaluation-orderhttps://github.com/rescript-lang/rescript/tree/fix-argument-evaluation-order
Conversationhttps://github.com/rescript-lang/rescript/pull/9159
Commits1 (1)https://github.com/rescript-lang/rescript/pull/9159/commits
Checkshttps://github.com/rescript-lang/rescript/pull/9159/checks
Files changedhttps://github.com/rescript-lang/rescript/pull/9159/files
Evaluate arguments left to right when a later one compiles to statementshttps://github.com/rescript-lang/rescript/pull/9159#top
cknitthttps://github.com/cknitt
masterhttps://github.com/rescript-lang/rescript/tree/master
fix-argument-evaluation-orderhttps://github.com/rescript-lang/rescript/tree/fix-argument-evaluation-order
https://github.com/cknitt
cknitthttps://github.com/cknitt
Nov 1, 2026https://github.com/rescript-lang/rescript/pull/9159#issue-6144393881
#9154https://github.com/rescript-lang/rescript/issues/9154
Claude Codehttps://claude.com/claude-code
https://claude.ai/code/session_01Kbf3gJs1wimqEvBr89ZYbbhttps://claude.ai/code/session_01Kbf3gJs1wimqEvBr89ZYbb
Please reload this pagehttps://github.com/rescript-lang/rescript/pull/9159
https://github.com/cknitt
https://github.com/claude
Evaluate arguments left to right when a later one compiles to statementshttps://github.com/rescript-lang/rescript/pull/9159/commits/d52e88ff02f04ce91c6234391bdf99fcce222526
d52e88fhttps://github.com/rescript-lang/rescript/pull/9159/commits/d52e88ff02f04ce91c6234391bdf99fcce222526
#9154https://github.com/rescript-lang/rescript/issues/9154
@variadichttps://github.com/variadic
#9154https://github.com/rescript-lang/rescript/issues/9154
https://claude.ai/code/session_01Kbf3gJs1wimqEvBr89ZYbbhttps://claude.ai/code/session_01Kbf3gJs1wimqEvBr89ZYbb
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 1, 2026https://github.com/rescript-lang/rescript/pull/9159#issuecomment-6554888783
Semantic Diffhttps://cdn.rescript-lang.org/semantic-diff/pr-9159/index.html?v=d52e88ff0
Full pagehttps://cdn.rescript-lang.org/semantic-diff/pr-9159/index.html?v=d52e88ff0
d52e88fhttps://github.com/rescript-lang/rescript/commit/d52e88ff02f04ce91c6234391bdf99fcce222526
cknitthttps://github.com/cknitt
#9154https://github.com/rescript-lang/rescript/issues/9154
Please reload this pagehttps://github.com/rescript-lang/rescript/pull/9159
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Nov 1, 2026https://github.com/rescript-lang/rescript/pull/9159#issuecomment-6554929808
Please reload this pagehttps://github.com/rescript-lang/rescript/pull/9159
Codecovhttps://app.codecov.io/gh/rescript-lang/rescript/pull/9159?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang
7928f37https://app.codecov.io/gh/rescript-lang/rescript/commit/7928f376da13dd10fde7b171522cc1ab01f5d18a?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang
d52e88fhttps://app.codecov.io/gh/rescript-lang/rescript/commit/d52e88ff02f04ce91c6234391bdf99fcce222526?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang
Files with missing lineshttps://app.codecov.io/gh/rescript-lang/rescript/pull/9159?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang
compiler/core/lam_compile.mlhttps://app.codecov.io/gh/rescript-lang/rescript/pull/9159?src=pr&el=tree&filepath=compiler%2Fcore%2Flam_compile.ml&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang#diff-Y29tcGlsZXIvY29yZS9sYW1fY29tcGlsZS5tbA==
41 Missing ⚠️ https://app.codecov.io/gh/rescript-lang/rescript/pull/9159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang
Files with missing lineshttps://app.codecov.io/gh/rescript-lang/rescript/pull/9159?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang
compiler/core/lam_compile_main.mlhttps://app.codecov.io/gh/rescript-lang/rescript/pull/9159?src=pr&el=tree&filepath=compiler%2Fcore%2Flam_compile_main.ml&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang#diff-Y29tcGlsZXIvY29yZS9sYW1fY29tcGlsZV9tYWluLm1s
compiler/core/lam_stats.mlhttps://app.codecov.io/gh/rescript-lang/rescript/pull/9159?src=pr&el=tree&filepath=compiler%2Fcore%2Flam_stats.ml&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang#diff-Y29tcGlsZXIvY29yZS9sYW1fc3RhdHMubWw=
compiler/ml/lambda_traverse.mlhttps://app.codecov.io/gh/rescript-lang/rescript/pull/9159?src=pr&el=tree&filepath=compiler%2Fml%2Flambda_traverse.ml&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang#diff-Y29tcGlsZXIvbWwvbGFtYmRhX3RyYXZlcnNlLm1s
compiler/core/lam_compile.mlhttps://app.codecov.io/gh/rescript-lang/rescript/pull/9159?src=pr&el=tree&filepath=compiler%2Fcore%2Flam_compile.ml&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rescript-lang#diff-Y29tcGlsZXIvY29yZS9sYW1fY29tcGlsZS5tbA==
3 files with indirect coverage changeshttps://app.codecov.io/gh/rescript-lang/rescript/pull/9159/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 Analyticshttps://docs.codecov.com/docs/test-analytics
JS Bundle Analysishttps://docs.codecov.com/docs/javascript-bundle-analysis
Please reload this pagehttps://github.com/rescript-lang/rescript/pull/9159
https://github.com/cknitt
cknitthttps://github.com/cknitt
Nov 1, 2026https://github.com/rescript-lang/rescript/pull/9159#issuecomment-6554961929
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/rescript-lang/rescript/pull/9159
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Nov 1, 2026https://github.com/rescript-lang/rescript/pull/9159#issuecomment-6554964489
Please reload this pagehttps://github.com/rescript-lang/rescript/pull/9159
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/rescript-lang/rescript/pull/9159
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Nov 1, 2026https://github.com/rescript-lang/rescript/pull/9159#issuecomment-6554981972
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/rescript-lang/rescript/pull/9159
https://github.com/apps/pkg-pr-new
pkg-pr-newhttps://github.com/apps/pkg-pr-new
Nov 1, 2026https://github.com/rescript-lang/rescript/pull/9159#issuecomment-6555009078
Open in StackBlitzhttps://pkg.pr.new/template/07876275-cb3b-4af8-b8a8-465219e08483
d52e88fhttps://github.com/rescript-lang/rescript/runs/124785067686
Please reload this pagehttps://github.com/rescript-lang/rescript/pull/9159
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 1, 2026https://github.com/rescript-lang/rescript/pull/9159#issuecomment-6555040071
https://rescript-lang.github.io/rescript/dev-playground/?version=pr-9159https://rescript-lang.github.io/rescript/dev-playground/?version=pr-9159
Please reload this pagehttps://github.com/rescript-lang/rescript/pull/9159
https://github.com/cknitt
cknitthttps://github.com/cknitt
cristianochttps://github.com/cristianoc
November 1, 2026 12:27https://github.com/rescript-lang/rescript/pull/9159#event-34830631219
https://github.com/cristianoc
cristianochttps://github.com/cristianoc
Nov 1, 2026 https://github.com/rescript-lang/rescript/pull/9159#pullrequestreview-5728281849
View reviewed changes https://github.com/rescript-lang/rescript/pull/9159/files/d52e88ff02f04ce91c6234391bdf99fcce222526
cristianochttps://github.com/cristianoc
https://github.com/rescript-lang/rescript/pull/9159#pullrequestreview-5728281849
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/rescript-lang/rescript/pull/9159
https://github.com/cknitt
cknitthttps://github.com/cknitt
November 1, 2026 14:02https://github.com/rescript-lang/rescript/pull/9159#event-34834715986
https://github.com/cknitt
cknitthttps://github.com/cknitt
f88294fhttps://github.com/rescript-lang/rescript/commit/f88294f29a50c4ec4292adea6aefc711e1b199f9
Nov 1, 2026https://github.com/rescript-lang/rescript/pull/9159#event-34834815029
Please reload this pagehttps://github.com/rescript-lang/rescript/pull/9159
https://github.com/cknitt
cknitthttps://github.com/cknitt
November 1, 2026 14:04https://github.com/rescript-lang/rescript/pull/9159#event-34834816257
test: expose eager-evaluation failures in inlining and statement lowering melange-re/melange#2141 https://github.com/melange-re/melange/pull/2141
fix: preserve eager evaluation during inlining and statement lowering melange-re/melange#2142 https://github.com/melange-re/melange/pull/2142
https://github.com/mununki
mununkihttps://github.com/mununki
Nov 3, 2026 https://github.com/rescript-lang/rescript/pull/9159#ref-pullrequest-6175301787
Evaluate the arguments of an inlined call left to right #9177 https://github.com/rescript-lang/rescript/pull/9177
mununkihttps://github.com/mununki
Nov 4, 2026 https://github.com/rescript-lang/rescript/pull/9159#ref-commit-87fc65a
https://github.com/mununki
Evaluate the arguments of an inlined call left to righthttps://github.com/rescript-lang/rescript/commit/87fc65ad9830f17a77eaa92e2a87683df6f6228a
87fc65ahttps://github.com/rescript-lang/rescript/commit/87fc65ad9830f17a77eaa92e2a87683df6f6228a
#9175https://github.com/rescript-lang/rescript/issues/9175
#9159https://github.com/rescript-lang/rescript/pull/9159
mununkihttps://github.com/mununki
Nov 4, 2026 https://github.com/rescript-lang/rescript/pull/9159#ref-commit-8ee6f23
https://github.com/mununki
Evaluate the arguments of an inlined call left to right (https://github.com/rescript-lang/rescript/commit/8ee6f23a40b12407b3cc8b4d4e36f97aa085979c
#9177https://github.com/rescript-lang/rescript/pull/9177
)https://github.com/rescript-lang/rescript/commit/8ee6f23a40b12407b3cc8b4d4e36f97aa085979c
8ee6f23https://github.com/rescript-lang/rescript/commit/8ee6f23a40b12407b3cc8b4d4e36f97aa085979c
#9175https://github.com/rescript-lang/rescript/issues/9175
#9159https://github.com/rescript-lang/rescript/pull/9159
https://github.com/mununki
mununkihttps://github.com/mununki
Nov 4, 2026 https://github.com/rescript-lang/rescript/pull/9159#ref-issue-6211060087
A local ref's value stored in a tuple or passed to a local function changes when the ref is assigned later #9227 https://github.com/rescript-lang/rescript/issues/9227
https://github.co/hiddenchars
https://github.com/rescript-lang/rescript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frescript-lang%2Frescript%2Fpull%2F9159
https://github.com/cristianoc
cristianoc https://github.com/cristianoc
https://github.com/rescript-lang/rescript/pull/9159/files/d52e88ff02f04ce91c6234391bdf99fcce222526
Please reload this pagehttps://github.com/rescript-lang/rescript/pull/9159
A block in an argument runs before the arguments to its left, which can produce wrong values https://github.com/rescript-lang/rescript/issues/9154
Please reload this pagehttps://github.com/rescript-lang/rescript/pull/9159
https://github.com/cknitt
https://github.com/cristianoc
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.