René's URL Explorer Experiment


Title: Fix compound indexed assignment evaluation by dajiaohuang · Pull Request #3056 · AssemblyScript/assemblyscript · GitHub

Open Graph Title: Fix compound indexed assignment evaluation by dajiaohuang · Pull Request #3056 · AssemblyScript/assemblyscript

X Title: Fix compound indexed assignment evaluation by dajiaohuang · Pull Request #3056 · AssemblyScript/assemblyscript

Description: Fixes #3051. Changes proposed in this pull request: Preserve the receiver and index of compound indexed assignments so expressions with side effects are evaluated once. Store the assigned value before invoking an overloaded indexed setter, and preserve the compound assignment expression's result. Add regression coverage for StaticArray indexed compound assignment, side effects, stored value, and expression result. Validation: npm run check passed; npm run build passed; focused compiler regression passed in debug and release, including fixture comparison and instantiation; resolve-elementaccess fixture tests passed after regeneration. The full npm test -- --noColors command reached the asconfig suite but stopped because a nested Windows command could not resolve npm; compiler-suite tests before that stage succeeded. No CI or review result is claimed. AI assistance was used for investigation and implementation; I reviewed and validated the submitted changes. I've read the contributing guidelines I've added my name and email to the NOTICE file

Open Graph Description: Fixes #3051. Changes proposed in this pull request: Preserve the receiver and index of compound indexed assignments so expressions with side effects are evaluated once. Store the assigned value be...

X Description: Fixes #3051. Changes proposed in this pull request: Preserve the receiver and index of compound indexed assignments so expressions with side effects are evaluated once. Store the assigned value be...

Opengraph URL: https://github.com/AssemblyScript/assemblyscript/pull/3056

X: @github

direct link

Domain: github.com

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:2d606d7f-f698-efbf-c21c-3683c39b08ff
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id91BC:A1AAC:187DE3:228D53:6B0055A1
html-safe-nonceab6228b70b12a875dc647b0b653557c3cd0c32e4c414aaa51a9bb23a45e01cce
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUJDOkExQUFDOjE4N0RFMzoyMjhENTM6NkIwMDU1QTEiLCJ2aXNpdG9yX2lkIjoiNTA0NTY4NjI3OTcwNzI1MjgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb7680addf8643e77f2fc770ca30fade8eee1f600fbaa4b252cf81d50fc74b354
hovercard-subject-tagpull_request:5051689251
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/AssemblyScript/assemblyscript/pull/3056/files
twitter:imagehttps://avatars.githubusercontent.com/u/108231307?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/108231307?s=400&v=4
og:image:altFixes #3051. Changes proposed in this pull request: Preserve the receiver and index of compound indexed assignments so expressions with side effects are evaluated once. Store the assigned value be...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonef420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/AssemblyScript/assemblyscript git https://github.com/AssemblyScript/assemblyscript.git
octolytics-dimension-user_id28916798
octolytics-dimension-user_loginAssemblyScript
octolytics-dimension-repository_id105138356
octolytics-dimension-repository_nwoAssemblyScript/assemblyscript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id105138356
octolytics-dimension-repository_network_root_nwoAssemblyScript/assemblyscript
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release26e00df917aba0f128135dc073ea0c5e33a70d40
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/AssemblyScript/assemblyscript/pull/3056/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F3056%2Ffiles
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%2FAssemblyScript%2Fassemblyscript%2Fpull%2F3056%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=AssemblyScript%2Fassemblyscript
Reloadhttps://github.com/AssemblyScript/assemblyscript/pull/3056/files
Reloadhttps://github.com/AssemblyScript/assemblyscript/pull/3056/files
Reloadhttps://github.com/AssemblyScript/assemblyscript/pull/3056/files
AssemblyScripthttps://github.com/AssemblyScript
assemblyscripthttps://github.com/AssemblyScript/assemblyscript
Codehttps://github.com/AssemblyScript/assemblyscript
Issues196 (196)https://github.com/AssemblyScript/assemblyscript/issues
Pull requests24 (24)https://github.com/AssemblyScript/assemblyscript/pulls
Actionshttps://github.com/AssemblyScript/assemblyscript/actions
Wikihttps://github.com/AssemblyScript/assemblyscript/wiki
Security and qualityhttps://github.com/AssemblyScript/assemblyscript/security
Insightshttps://github.com/AssemblyScript/assemblyscript/insights
Sign up for GitHub https://github.com/signup?return_to=%2FAssemblyScript%2Fassemblyscript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FAssemblyScript%2Fassemblyscript%2Fissues%2Fnew%2Fchoose
dajiaohuanghttps://github.com/dajiaohuang
AssemblyScript:mainhttps://github.com/AssemblyScript/assemblyscript/tree/main
dajiaohuang:fix/issue-3051-compound-indexed-assignmenthttps://github.com/dajiaohuang/assemblyscript/tree/fix/issue-3051-compound-indexed-assignment
Conversation 0 https://github.com/AssemblyScript/assemblyscript/pull/3056
Commits 1 https://github.com/AssemblyScript/assemblyscript/pull/3056/commits
Checks 14 https://github.com/AssemblyScript/assemblyscript/pull/3056/checks
Files changed https://github.com/AssemblyScript/assemblyscript/pull/3056/files
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/3056/files
Fix compound indexed assignment evaluation https://github.com/AssemblyScript/assemblyscript/pull/3056/files#top
Show all changes 1 commit https://github.com/AssemblyScript/assemblyscript/pull/3056/files
139c9c1 Fix compound indexed assignment evaluation dajiaohuang Oct 28, 2026 https://github.com/AssemblyScript/assemblyscript/pull/3056/commits/139c9c186638cea0cea83c85a052426dc54ae3c6
Clear filters https://github.com/AssemblyScript/assemblyscript/pull/3056/files
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/3056/files
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/3056/files
NOTICE https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-dfb14fbb9e7d095209ec4cfd621069437bf9c442ff9de9d4ce889781bd0fefcf
compiler.ts https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-041bb58b49fbc5e7fdf9b8d09f0f0ae8d524d727947bcfa3e3d1c91b8a35aeee
resolver.ts https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-0d2f46f3b329944abf82b98bdebe5220e48742c8868011ed9b35b592f72b0fed
issue-3051.debug.wat https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-69a557e0d6c44ca0bbc26bbd303cffddf11c47cce8a4b804e412cc7e836cf87d
issue-3051.release.wat https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-95b49975e1a11f5ff5b15817a6b318f6afbf8b81139a34fc9f7b245a0e5c02f2
issue-3051.ts https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-a2fcc39a28349f26b1d37e9a75910607fae5cad68423316a453c2df7b03e32b9
resolve-elementaccess.debug.wat https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-4f9cf19aa8f939fd8dcef757df80e4bd530beb57229a79e859f0af0faed5dc44
resolve-elementaccess.release.wat https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-c9e11c59ba9f3e7a2fb4162b70168da852ca0e900d7a28c267c5ef1a67cbbc70
NOTICEhttps://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-dfb14fbb9e7d095209ec4cfd621069437bf9c442ff9de9d4ce889781bd0fefcf
View file https://github.com/AssemblyScript/assemblyscript/blob/139c9c186638cea0cea83c85a052426dc54ae3c6/NOTICE
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/AssemblyScript/assemblyscript/pull/3056/{{ revealButtonHref }}
https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-dfb14fbb9e7d095209ec4cfd621069437bf9c442ff9de9d4ce889781bd0fefcf
https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-dfb14fbb9e7d095209ec4cfd621069437bf9c442ff9de9d4ce889781bd0fefcf
src/compiler.tshttps://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-041bb58b49fbc5e7fdf9b8d09f0f0ae8d524d727947bcfa3e3d1c91b8a35aeee
View file https://github.com/AssemblyScript/assemblyscript/blob/139c9c186638cea0cea83c85a052426dc54ae3c6/src/compiler.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/AssemblyScript/assemblyscript/pull/3056/{{ revealButtonHref }}
https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-041bb58b49fbc5e7fdf9b8d09f0f0ae8d524d727947bcfa3e3d1c91b8a35aeee
https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-041bb58b49fbc5e7fdf9b8d09f0f0ae8d524d727947bcfa3e3d1c91b8a35aeee
https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-041bb58b49fbc5e7fdf9b8d09f0f0ae8d524d727947bcfa3e3d1c91b8a35aeee
https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-041bb58b49fbc5e7fdf9b8d09f0f0ae8d524d727947bcfa3e3d1c91b8a35aeee
https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-041bb58b49fbc5e7fdf9b8d09f0f0ae8d524d727947bcfa3e3d1c91b8a35aeee
https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-041bb58b49fbc5e7fdf9b8d09f0f0ae8d524d727947bcfa3e3d1c91b8a35aeee
https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-041bb58b49fbc5e7fdf9b8d09f0f0ae8d524d727947bcfa3e3d1c91b8a35aeee
https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-041bb58b49fbc5e7fdf9b8d09f0f0ae8d524d727947bcfa3e3d1c91b8a35aeee
https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-041bb58b49fbc5e7fdf9b8d09f0f0ae8d524d727947bcfa3e3d1c91b8a35aeee
https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-041bb58b49fbc5e7fdf9b8d09f0f0ae8d524d727947bcfa3e3d1c91b8a35aeee
https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-041bb58b49fbc5e7fdf9b8d09f0f0ae8d524d727947bcfa3e3d1c91b8a35aeee
https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-041bb58b49fbc5e7fdf9b8d09f0f0ae8d524d727947bcfa3e3d1c91b8a35aeee
https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-041bb58b49fbc5e7fdf9b8d09f0f0ae8d524d727947bcfa3e3d1c91b8a35aeee
src/resolver.tshttps://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-0d2f46f3b329944abf82b98bdebe5220e48742c8868011ed9b35b592f72b0fed
View file https://github.com/AssemblyScript/assemblyscript/blob/139c9c186638cea0cea83c85a052426dc54ae3c6/src/resolver.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/AssemblyScript/assemblyscript/pull/3056/{{ revealButtonHref }}
https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-0d2f46f3b329944abf82b98bdebe5220e48742c8868011ed9b35b592f72b0fed
https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-0d2f46f3b329944abf82b98bdebe5220e48742c8868011ed9b35b592f72b0fed
https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-0d2f46f3b329944abf82b98bdebe5220e48742c8868011ed9b35b592f72b0fed
https://github.com/AssemblyScript/assemblyscript/pull/3056/files#diff-0d2f46f3b329944abf82b98bdebe5220e48742c8868011ed9b35b592f72b0fed
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/3056/files
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/3056/files
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

Viewport: width=device-width


URLs of crawlers that visited me.