| 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:bc771f01-e8f6-8cef-ca22-84d10f9858be |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D5CA:137B3:254BE7C:317A6A5:6B005BA2 |
| html-safe-nonce | 1d9a2c1ed2e00fdf8aaa39116f56a3ab537e2465ca55e25aa7dade5bc2b4f73a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUNBOjEzN0IzOjI1NEJFN0M6MzE3QTZBNTo2QjAwNUJBMiIsInZpc2l0b3JfaWQiOiI0OTUyMTcyNzE4MDAzODcwNjI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6973666ca857f3bc6b2f79c362ad2fa93f83e5cdf800df08f43e6da532260fd5 |
| hovercard-subject-tag | pull_request:4898845264 |
| 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/AssemblyScript/assemblyscript/3053/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/b3657c5f23b4541261a48208903cd0acdf086b6b3e5b98821879e70c57d623ff/AssemblyScript/assemblyscript/pull/3053 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b3657c5f23b4541261a48208903cd0acdf086b6b3e5b98821879e70c57d623ff/AssemblyScript/assemblyscript/pull/3053 |
| og:image:alt | Fixes #2130
Changes proposed in this pull request:
Align the ASI behaviour with typescript
I've read the contributing guidelines
I've added my name and email to the NOTICE file |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Changqing-JING |
| hostname | github.com |
| expected-hostname | github.com |
| None | 29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73 |
| turbo-cache-control | no-cache |
| go-import | github.com/AssemblyScript/assemblyscript git https://github.com/AssemblyScript/assemblyscript.git |
| octolytics-dimension-user_id | 28916798 |
| octolytics-dimension-user_login | AssemblyScript |
| octolytics-dimension-repository_id | 105138356 |
| octolytics-dimension-repository_nwo | AssemblyScript/assemblyscript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 105138356 |
| octolytics-dimension-repository_network_root_nwo | AssemblyScript/assemblyscript |
| 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 | eacd927ba6112e3b01ba99c762bd699a4a4f5df7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053#start-of-content |
| https://redirect.github.com/ |
| Sign in | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F3053 |
| 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://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F3053 |
| Sign up | https://redirect.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=AssemblyScript%2Fassemblyscript |
| Reload | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053 |
| Reload | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053 |
| Reload | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053 |
| AssemblyScript | https://redirect.github.com/AssemblyScript |
| assemblyscript | https://redirect.github.com/AssemblyScript/assemblyscript |
| Code | https://redirect.github.com/AssemblyScript/assemblyscript |
| Issues196 (196) | https://redirect.github.com/AssemblyScript/assemblyscript/issues |
| Pull requests24 (24) | https://redirect.github.com/AssemblyScript/assemblyscript/pulls |
| Actions | https://redirect.github.com/AssemblyScript/assemblyscript/actions |
| Wiki | https://redirect.github.com/AssemblyScript/assemblyscript/wiki |
| Security and quality | https://redirect.github.com/AssemblyScript/assemblyscript/security |
| Insights | https://redirect.github.com/AssemblyScript/assemblyscript/insights |
| https://redirect.github.com/AssemblyScript/assemblyscript |
| Changqing-JING | https://redirect.github.com/Changqing-JING |
| AssemblyScript:main | https://redirect.github.com/AssemblyScript/assemblyscript/tree/main |
| Changqing-JING:fix/parser | https://redirect.github.com/Changqing-JING/assemblyscript/tree/fix/parser |
| Conversation | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053 |
| Commits4 (4) | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053/commits |
| Checks | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053/checks |
| Files changed | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053/files |
| fix: Align the ASI behaviour with typescript | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053#top |
| Changqing-JING | https://redirect.github.com/Changqing-JING |
| AssemblyScript:main | https://redirect.github.com/AssemblyScript/assemblyscript/tree/main |
| Changqing-JING:fix/parser | https://redirect.github.com/Changqing-JING/assemblyscript/tree/fix/parser |
|
| https://redirect.github.com/Changqing-JING |
| Changqing-JING | https://redirect.github.com/Changqing-JING |
| Oct 17, 2026 | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053#issue-5896826354 |
| Please reload this page | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053 |
| #2130 | https://github.com/AssemblyScript/assemblyscript/issues/2130 |
| Please reload this page | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053 |
| https://redirect.github.com/Changqing-JING |
| Changqing-JING | https://redirect.github.com/Changqing-JING |
| Oct 17, 2026 | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053#event-33512500085 |
| https://redirect.github.com/Changqing-JING |
| Changqing-JING | https://redirect.github.com/Changqing-JING |
| Oct 17, 2026 | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053#event-33512520310 |
| https://redirect.github.com/Changqing-JING |
| Changqing-JING | https://redirect.github.com/Changqing-JING |
| October 17, 2026 09:10 | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053#event-33512523639 |
|
| https://redirect.github.com/Changqing-JING |
| WIP | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053/commits/696e6b752555738537f3dbfe4803a7f8018c940a |
| 696e6b7 | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053/commits/696e6b752555738537f3dbfe4803a7f8018c940a |
| https://redirect.github.com/Changqing-JING |
| Changqing-JING | https://redirect.github.com/Changqing-JING |
| force-pushed | https://redirect.github.com/AssemblyScript/assemblyscript/compare/7ed0f4eb0e236a30bcc82556e2dc7f4d9246cc53..696e6b752555738537f3dbfe4803a7f8018c940a |
| 7ed0f4e | https://redirect.github.com/AssemblyScript/assemblyscript/commit/7ed0f4eb0e236a30bcc82556e2dc7f4d9246cc53 |
| 696e6b7 | https://redirect.github.com/AssemblyScript/assemblyscript/commit/696e6b752555738537f3dbfe4803a7f8018c940a |
|
Compare
| https://redirect.github.com/AssemblyScript/assemblyscript/compare/7ed0f4eb0e236a30bcc82556e2dc7f4d9246cc53..696e6b752555738537f3dbfe4803a7f8018c940a |
| October 17, 2026 09:16 | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053#event-33512731054 |
| https://redirect.github.com/Changqing-JING |
| Changqing-JING | https://redirect.github.com/Changqing-JING |
| October 20, 2026 02:29 | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053#event-33703711159 |
| https://redirect.github.com/Changqing-JING |
| Changqing-JING | https://redirect.github.com/Changqing-JING |
|
Oct 20, 2026
| https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053#ref-pullrequest-5936964009 |
|
fix(as): Align the ASI behaviour with typescript
wasm-ecosystem/warpo#681
| https://redirect.github.com/wasm-ecosystem/warpo/pull/681 |
|
| https://redirect.github.com/Changqing-JING |
| add test | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053/commits/6021ab675a843decfc985ad0c7611b0bd054861f |
| 6021ab6 | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053/commits/6021ab675a843decfc985ad0c7611b0bd054861f |
| https://redirect.github.com/Changqing-JING |
| Changqing-JING | https://redirect.github.com/Changqing-JING |
| Oct 20, 2026 | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053#issuecomment-6285910967 |
| @MaxGraey | https://github.com/MaxGraey |
| @dcodeIO | https://github.com/dcodeIO |
| @CountBleck | https://github.com/CountBleck |
| @HerrCai0907 | https://github.com/HerrCai0907 |
| Please reload this page | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053 |
| https://redirect.github.com/JairusSW |
| JairusSW | https://redirect.github.com/JairusSW |
| Oct 21, 2026 | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053#event-33862096589 |
| https://redirect.github.com/JairusSW |
| JairusSW | https://redirect.github.com/JairusSW |
| Nov 13, 2026 | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053#issuecomment-6856632321 |
| @Changqing-JING | https://github.com/Changqing-JING |
| Please reload this page | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053 |
| https://redirect.github.com/JairusSW |
| JairusSW | https://redirect.github.com/JairusSW |
|
Nov 13, 2026
| https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053#pullrequestreview-5893636698 |
|
View reviewed changes
| https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053/files/6021ab675a843decfc985ad0c7611b0bd054861f |
| src/parser.ts | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053/files/6021ab675a843decfc985ad0c7611b0bd054861f#diff-abe2818e9c29aadf84401cb7ef8286c7cbce9253eba09f6fa52e22ca4e57b17e |
| JairusSW | https://redirect.github.com/JairusSW |
| Nov 13, 2026 | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053#discussion_r4565153103 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053 |
| Changqing-JING | https://redirect.github.com/Changqing-JING |
| Nov 20, 2026 | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053#discussion_r4639316700 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053 |
| src/parser.ts | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053/files/6021ab675a843decfc985ad0c7611b0bd054861f#diff-abe2818e9c29aadf84401cb7ef8286c7cbce9253eba09f6fa52e22ca4e57b17e |
| JairusSW | https://redirect.github.com/JairusSW |
| Nov 13, 2026 | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053#discussion_r4565197723 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053 |
| Changqing-JING | https://redirect.github.com/Changqing-JING |
| Nov 20, 2026 | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053#discussion_r4639317515 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053 |
| https://redirect.github.com/JairusSW |
| JairusSW | https://redirect.github.com/JairusSW |
| Nov 13, 2026 | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053#issuecomment-6857379499 |
| Please reload this page | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053 |
| Changqing-JING | https://redirect.github.com/Changqing-JING |
| November 20, 2026 14:19 | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053#commits-pushed-a78ecfa |
|
| https://redirect.github.com/Changqing-JING |
| Fix review | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053/commits/a78ecfa32e79f62cf5b00f9f9f23d24ae09a82fb |
| a78ecfa | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053/commits/a78ecfa32e79f62cf5b00f9f9f23d24ae09a82fb |
|
| https://redirect.github.com/Changqing-JING |
| Fix review | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053/commits/5d47282914087c1b549030aa9d1729cfc0d34062 |
| 5d47282 | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053/commits/5d47282914087c1b549030aa9d1729cfc0d34062 |
| https://github.co/hiddenchars |
| https://redirect.github.com/AssemblyScript/assemblyscript/pull/{{ revealButtonHref }} |
| Sign up for free | https://redirect.github.com/join?source=comment-repo |
| Sign in to comment | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F3053 |
|
| https://redirect.github.com/JairusSW |
|
JairusSW
| https://redirect.github.com/JairusSW |
|
| https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053/files/6021ab675a843decfc985ad0c7611b0bd054861f |
| Please reload this page | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053 |
|
| https://redirect.github.com/JairusSW |
|
JairusSW
| https://redirect.github.com/JairusSW |
|
[Proposal] Error on ASI ambiguous cases
| https://github.com/AssemblyScript/assemblyscript/issues/2130 |
| Please reload this page | https://redirect.github.com/AssemblyScript/assemblyscript/pull/3053 |
|
| https://redirect.github.com/Changqing-JING |
|
| https://redirect.github.com/JairusSW |
|
| 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 |