René's URL Explorer Experiment


Title: Multi value by JairusSW · Pull Request #3055 · AssemblyScript/assemblyscript · GitHub

Open Graph Title: Multi value by JairusSW · Pull Request #3055 · AssemblyScript/assemblyscript

X Title: Multi value by JairusSW · Pull Request #3055 · AssemblyScript/assemblyscript

Description: This PR adds basic support for the Multi-Value Proposal. For a tuple type to be considered for multi-value, it must be explicitly marked with readonly first. Related: #1633 #1425 I accidentally closed #3021 by overwriting history on my fork. Re-opening here. Refer to #3021 for prior discussion So far, this adds basic compiler/binaryen support for outputting multi-value returns, but does not support things like indexing yet I'm thinking that the next PR should add support type checking for tuples/multi-values, support indexing, and add an SROA pass to identify array literals vs tuples. After that, full support for tuples probably based off of warpo's implementation I've read the contributing guidelines I've added my name and email to the NOTICE file

Open Graph Description: This PR adds basic support for the Multi-Value Proposal. For a tuple type to be considered for multi-value, it must be explicitly marked with readonly first. Related: #1633 #1425 I accidentally cl...

X Description: This PR adds basic support for the Multi-Value Proposal. For a tuple type to be considered for multi-value, it must be explicitly marked with readonly first. Related: #1633 #1425 I accidentally cl...

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

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:bbc57d41-96b1-9db8-9ccb-6dcb04a4cfa5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id88E4:22BD05:2B4291F:3AEB012:6B005599
html-safe-nonce939c174b9a99b659667e94e1159b2c7dad336158f7c1a5f496b0dbeb3dacfe0b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEU0OjIyQkQwNToyQjQyOTFGOjNBRUIwMTI6NkIwMDU1OTkiLCJ2aXNpdG9yX2lkIjoiNzMyODc1MTYzOTU1OTQyNzQ4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacefe78accc9c9a91b659173a10426c1777cd60016b064cd8b608b822a76efbd77
hovercard-subject-tagpull_request:4954608165
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/3055/files
twitter:imagehttps://avatars.githubusercontent.com/u/60235514?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/60235514?s=400&v=4
og:image:altThis PR adds basic support for the Multi-Value Proposal. For a tuple type to be considered for multi-value, it must be explicitly marked with readonly first. Related: #1633 #1425 I accidentally cl...
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/3055/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F3055%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%2F3055%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/3055/files
Reloadhttps://github.com/AssemblyScript/assemblyscript/pull/3055/files
Reloadhttps://github.com/AssemblyScript/assemblyscript/pull/3055/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
JairusSWhttps://github.com/JairusSW
AssemblyScript:mainhttps://github.com/AssemblyScript/assemblyscript/tree/main
JairusSW:multi-valuehttps://github.com/JairusSW/assemblyscript/tree/multi-value
Conversation 0 https://github.com/AssemblyScript/assemblyscript/pull/3055
Commits 7 https://github.com/AssemblyScript/assemblyscript/pull/3055/commits
Checks 14 https://github.com/AssemblyScript/assemblyscript/pull/3055/checks
Files changed https://github.com/AssemblyScript/assemblyscript/pull/3055/files
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/3055/files
Multi value https://github.com/AssemblyScript/assemblyscript/pull/3055/files#top
Show all changes 7 commits https://github.com/AssemblyScript/assemblyscript/pull/3055/files
0e732f6 feat: add initial support for multi-value returns JairusSW Apr 27, 2026 https://github.com/AssemblyScript/assemblyscript/pull/3055/commits/0e732f60fa88e1bfa18931b2d64306b265400c4b
f106add chore: remove helper since it's somewhat out of scope JairusSW Apr 27, 2026 https://github.com/AssemblyScript/assemblyscript/pull/3055/commits/f106addfc78e5f5063ab93b84b92e4e50d9f7f21
cdd8e0e chore: clean up JairusSW Apr 27, 2026 https://github.com/AssemblyScript/assemblyscript/pull/3055/commits/cdd8e0eacd846ecda9157173f38d0966fe4308c0
927edb5 chore: check for nullability when accessing returnTypes JairusSW Apr 27, 2026 https://github.com/AssemblyScript/assemblyscript/pull/3055/commits/927edb598fe9f7ad288d0ce3603c020c15dd7804
af0da38 chore: remove extraneous code JairusSW Apr 27, 2026 https://github.com/AssemblyScript/assemblyscript/pull/3055/commits/af0da38bce95821807ec3f092f3518276836a35b
0c1abc4 tests: add more JairusSW Apr 27, 2026 https://github.com/AssemblyScript/assemblyscript/pull/3055/commits/0c1abc4619782666f16638ec698d04fd1f169583
68f0f8b Merge main into multi-value and preserve indirect tuple results JairusSW Oct 21, 2026 https://github.com/AssemblyScript/assemblyscript/pull/3055/commits/68f0f8b7bcb7a0a582f4bace5b4ca8b48e631678
Clear filters https://github.com/AssemblyScript/assemblyscript/pull/3055/files
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/3055/files
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/3055/files
ast.ts https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-0b70af546cf14b11ad666d8d4a40e47e96c6b7f9d93fb785a5a30603cb6744d2
compiler.ts https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-041bb58b49fbc5e7fdf9b8d09f0f0ae8d524d727947bcfa3e3d1c91b8a35aeee
ast.ts https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-af82b5d550e713447c1aa1025921322d896380dde22fd5641356bd45370e8a7c
module.ts https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-030fc083b2cbf5cf008cfc0c49bb4f1b8d97ac07f93a291d068d81b4d1416f70
parser.ts https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-abe2818e9c29aadf84401cb7ef8286c7cbce9253eba09f6fa52e22ca4e57b17e
program.ts https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-34464090febe886c2a40aad4e347f95a9821cff69d4a43a793a376a466b3c885
resolver.ts https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-0d2f46f3b329944abf82b98bdebe5220e48742c8868011ed9b35b592f72b0fed
types.ts https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-c54113cf61ec99691748a3890bfbeb00e10efb3f0a76f03a0fd9ec49072e410a
test.sh https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-3722d9ba8feb2d3feac8ce71a209a638d4b404e1c53f937188761181594023e2
test.ts https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-b14ec2e19d3d3643942111730b17426e9016b4c44abe9ca2b70756ede707ac63
test.wasm https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-56f958eb30b1c82fe2ca5a01c25d0fab7dfd0c38525c4ff099103463aaaad1e3
test.wat https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-d3ac05db6e66d5589e0991f60e26670d291f5d2927f7074dec5053e9e650fcda
tuple-bindings.json https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-579feb3878d0eb90d7c66dea199b32ef1c8fa30a476389ba7d9258edb06207c2
tuple-bindings.ts https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-43ebf0b3a62dfad165cd02826f5350f6345e4c8d1a06b206d421c5cded824a4f
tuple-errors.json https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-a515a3a75ad155b2942001a029b8d7f5b40dc4b597da67e1bb02360b0bb3084b
tuple-errors.ts https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-80594ddde7f842de3703bc07e6caeacca33ad766d5add4f3a9c289f9abe46ec1
tuple-type.debug.wat https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-514b2056a9770a1a170c538fca13a21296868bd3f383a2e7b88fc1d85288bd55
tuple-type.js https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-1b2de8130d09b53d9480cb8370d3e88007989bcb49b6a07e9f4303446c778a8f
tuple-type.json https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-1256267d050b75a310f3790954ec3017bede6afd3c328058ca6df6a76064d0fe
tuple-type.release.wat https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-6f038d4044db2e73b4a88225455bfa9c112d505601ddfd5245ff4792ba322042
tuple-type.ts https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-27eb678062ece993db3fac080b31887db96a5672e5d06bde3b178d0a1ba2b79c
tuple.ts.fixture.ts https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-5c10640a61a43bd2aa2d04c5962370e2e798153601578c20455d4d9e2816d3e3
src/ast.tshttps://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-0b70af546cf14b11ad666d8d4a40e47e96c6b7f9d93fb785a5a30603cb6744d2
View file https://github.com/AssemblyScript/assemblyscript/blob/68f0f8b7bcb7a0a582f4bace5b4ca8b48e631678/src/ast.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/AssemblyScript/assemblyscript/pull/3055/{{ revealButtonHref }}
https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-0b70af546cf14b11ad666d8d4a40e47e96c6b7f9d93fb785a5a30603cb6744d2
https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-0b70af546cf14b11ad666d8d4a40e47e96c6b7f9d93fb785a5a30603cb6744d2
https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-0b70af546cf14b11ad666d8d4a40e47e96c6b7f9d93fb785a5a30603cb6744d2
https://github.com/AssemblyScript/assemblyscript/pull/3055/files#diff-0b70af546cf14b11ad666d8d4a40e47e96c6b7f9d93fb785a5a30603cb6744d2
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/3055/files
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/3055/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.