| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f2a7f8fb-a3aa-7826-66e8-7dae5e631a94 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C64A:D064:2BC8ADC:3BB9B5A:6B005597 |
| html-safe-nonce | 0957be17670d1d7d2ff1ab07c86e8942944799eba788c673250d69dbf100451b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjRBOkQwNjQ6MkJDOEFEQzozQkI5QjVBOjZCMDA1NTk3IiwidmlzaXRvcl9pZCI6IjIxNzY2NTk4MTM2MDg0NzgxMDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4d141f5e8a240998ca204693e9b5c8100621f53fdf29a24c52d822fbd80f28fc |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/AssemblyScript/assemblyscript/pull/3053/files |
| twitter:image | https://avatars.githubusercontent.com/u/59640930?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/59640930?s=400&v=4 |
| 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:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 26e00df917aba0f128135dc073ea0c5e33a70d40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/AssemblyScript/assemblyscript/pull/3053/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F3053%2Ffiles |
| 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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F3053%2Ffiles |
| 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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=AssemblyScript%2Fassemblyscript |
| Reload | https://github.com/AssemblyScript/assemblyscript/pull/3053/files |
| Reload | https://github.com/AssemblyScript/assemblyscript/pull/3053/files |
| Reload | https://github.com/AssemblyScript/assemblyscript/pull/3053/files |
| AssemblyScript | https://github.com/AssemblyScript |
| assemblyscript | https://github.com/AssemblyScript/assemblyscript |
| Code | https://github.com/AssemblyScript/assemblyscript |
| Issues196 (196) | https://github.com/AssemblyScript/assemblyscript/issues |
| Pull requests24 (24) | https://github.com/AssemblyScript/assemblyscript/pulls |
| Actions | https://github.com/AssemblyScript/assemblyscript/actions |
| Wiki | https://github.com/AssemblyScript/assemblyscript/wiki |
| Security and quality | https://github.com/AssemblyScript/assemblyscript/security |
| Insights | https://github.com/AssemblyScript/assemblyscript/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FAssemblyScript%2Fassemblyscript%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FAssemblyScript%2Fassemblyscript%2Fissues%2Fnew%2Fchoose |
| Changqing-JING | https://github.com/Changqing-JING |
| AssemblyScript:main | https://github.com/AssemblyScript/assemblyscript/tree/main |
| Changqing-JING:fix/parser | https://github.com/Changqing-JING/assemblyscript/tree/fix/parser |
|
Conversation
7
| https://github.com/AssemblyScript/assemblyscript/pull/3053 |
|
Commits
4
| https://github.com/AssemblyScript/assemblyscript/pull/3053/commits |
|
Checks
14
| https://github.com/AssemblyScript/assemblyscript/pull/3053/checks |
|
Files changed
| https://github.com/AssemblyScript/assemblyscript/pull/3053/files |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/3053/files |
|
fix: Align the ASI behaviour with typescript
| https://github.com/AssemblyScript/assemblyscript/pull/3053/files#top |
|
Show all changes
4 commits
| https://github.com/AssemblyScript/assemblyscript/pull/3053/files |
|
696e6b7
WIP
Changqing-JING Oct 17, 2026
| https://github.com/AssemblyScript/assemblyscript/pull/3053/commits/696e6b752555738537f3dbfe4803a7f8018c940a |
|
6021ab6
add test
Changqing-JING Oct 20, 2026
| https://github.com/AssemblyScript/assemblyscript/pull/3053/commits/6021ab675a843decfc985ad0c7611b0bd054861f |
|
a78ecfa
Fix review
Changqing-JING Nov 20, 2026
| https://github.com/AssemblyScript/assemblyscript/pull/3053/commits/a78ecfa32e79f62cf5b00f9f9f23d24ae09a82fb |
|
5d47282
Fix review
Changqing-JING Nov 20, 2026
| https://github.com/AssemblyScript/assemblyscript/pull/3053/commits/5d47282914087c1b549030aa9d1729cfc0d34062 |
|
Clear filters
| https://github.com/AssemblyScript/assemblyscript/pull/3053/files |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/3053/files |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/3053/files |
|
parser.ts
| https://github.com/AssemblyScript/assemblyscript/pull/3053/files#diff-abe2818e9c29aadf84401cb7ef8286c7cbce9253eba09f6fa52e22ca4e57b17e |
|
asi.debug.wat
| https://github.com/AssemblyScript/assemblyscript/pull/3053/files#diff-6f6e49f6a19165ee19515016c3330512b250f4cae9f31f6dd4aa27275eb9a735 |
|
asi.release.wat
| https://github.com/AssemblyScript/assemblyscript/pull/3053/files#diff-ed7123f6af8cb5bef23278d775186d38fef58a0a2caf97c93cdb950dc1a00209 |
|
asi.ts
| https://github.com/AssemblyScript/assemblyscript/pull/3053/files#diff-658b430bf90528c6d7d85fd667c739805ef4b7c857f14b7d63bd180fb5204b61 |
|
resolve-elementaccess.debug.wat
| https://github.com/AssemblyScript/assemblyscript/pull/3053/files#diff-4f9cf19aa8f939fd8dcef757df80e4bd530beb57229a79e859f0af0faed5dc44 |
|
resolve-elementaccess.release.wat
| https://github.com/AssemblyScript/assemblyscript/pull/3053/files#diff-c9e11c59ba9f3e7a2fb4162b70168da852ca0e900d7a28c267c5ef1a67cbbc70 |
|
resolve-elementaccess.ts
| https://github.com/AssemblyScript/assemblyscript/pull/3053/files#diff-11baeb4ff63bddf61cb4816ccec4d125759e706ee3e865e05c8cf9dc50b7dc83 |
|
asi.ts
| https://github.com/AssemblyScript/assemblyscript/pull/3053/files#diff-10471d88dce0a5f8091f5c830eefe08988fab5fba64dea8ab27f3c93a809fde6 |
|
asi.ts.fixture.ts
| https://github.com/AssemblyScript/assemblyscript/pull/3053/files#diff-d1cefe7256c6d28dff7304578b9e25e75e379589858bb44ccdba0cc1577343a4 |
|
interface-errors.ts.fixture.ts
| https://github.com/AssemblyScript/assemblyscript/pull/3053/files#diff-de2b851e2633b2f63df3e7ae27a6907c0e09747acc09b8305e40880581d837a0 |
|
literals.ts
| https://github.com/AssemblyScript/assemblyscript/pull/3053/files#diff-cadfb4afc2fb4d979df4e3a92d958aab46156c291515b123c6c6f3690e128475 |
|
literals.ts.fixture.ts
| https://github.com/AssemblyScript/assemblyscript/pull/3053/files#diff-0dff2ab22323bcddfe0a127538c3b6604003c16d4d6b5e562584a654360e1b2a |
| src/parser.ts | https://github.com/AssemblyScript/assemblyscript/pull/3053/files#diff-abe2818e9c29aadf84401cb7ef8286c7cbce9253eba09f6fa52e22ca4e57b17e |
|
View file
| https://github.com/AssemblyScript/assemblyscript/blob/5d47282914087c1b549030aa9d1729cfc0d34062/src/parser.ts |
|
Open in desktop
| https://desktop.github.com |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/3053/files |
| tests/compiler/asi.debug.wat | https://github.com/AssemblyScript/assemblyscript/pull/3053/files#diff-6f6e49f6a19165ee19515016c3330512b250f4cae9f31f6dd4aa27275eb9a735 |
|
View file
| https://github.com/AssemblyScript/assemblyscript/blob/5d47282914087c1b549030aa9d1729cfc0d34062/tests/compiler/asi.debug.wat |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/AssemblyScript/assemblyscript/pull/3053/{{ revealButtonHref }} |
| tests/compiler/asi.release.wat | https://github.com/AssemblyScript/assemblyscript/pull/3053/files#diff-ed7123f6af8cb5bef23278d775186d38fef58a0a2caf97c93cdb950dc1a00209 |
|
View file
| https://github.com/AssemblyScript/assemblyscript/blob/5d47282914087c1b549030aa9d1729cfc0d34062/tests/compiler/asi.release.wat |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/AssemblyScript/assemblyscript/pull/3053/{{ revealButtonHref }} |
| tests/compiler/asi.ts | https://github.com/AssemblyScript/assemblyscript/pull/3053/files#diff-658b430bf90528c6d7d85fd667c739805ef4b7c857f14b7d63bd180fb5204b61 |
|
View file
| https://github.com/AssemblyScript/assemblyscript/blob/5d47282914087c1b549030aa9d1729cfc0d34062/tests/compiler/asi.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/AssemblyScript/assemblyscript/pull/3053/{{ revealButtonHref }} |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/3053/files |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/3053/files |
|
| 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 |