Title: WASM validation errors when using generic getters? · Issue #1675 · AssemblyScript/assemblyscript · GitHub
Open Graph Title: WASM validation errors when using generic getters? · Issue #1675 · AssemblyScript/assemblyscript
X Title: WASM validation errors when using generic getters? · Issue #1675 · AssemblyScript/assemblyscript
Description: So a funny thing happened while on my way to trying to demonstrate #1635. Running from a fresh install of https://github.com/jriehl/sandbox/tree/master/assemblyscript/issue1635, I see the following: % npm run asbuild > issue1635@1.0.0 as...
Open Graph Description: So a funny thing happened while on my way to trying to demonstrate #1635. Running from a fresh install of https://github.com/jriehl/sandbox/tree/master/assemblyscript/issue1635, I see the following...
X Description: So a funny thing happened while on my way to trying to demonstrate #1635. Running from a fresh install of https://github.com/jriehl/sandbox/tree/master/assemblyscript/issue1635, I see the following...
Opengraph URL: https://github.com/AssemblyScript/assemblyscript/issues/1675
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"WASM validation errors when using generic getters?","articleBody":"So a funny thing happened while on my way to trying to demonstrate #1635. Running from a fresh install of https://github.com/jriehl/sandbox/tree/master/assemblyscript/issue1635, I see the following:\r\n\r\n```shell\r\n% npm run asbuild\r\n\r\n> issue1635@1.0.0 asbuild\r\n> npm run asbuild:untouched && npm run asbuild:optimized\r\n\r\n\r\n> issue1635@1.0.0 asbuild:untouched\r\n> asc assembly/index.ts --target debug\r\n\r\n[wasm-validator error in function export:assembly/tree/Tree.Node\u003ci32>#get:payload] unexpected false: local.get index must be small enough, on \r\n(local.get $0)\r\n[wasm-validator error in function export:assembly/tree/Tree.Node\u003ci32>#get:payload] unexpected false: call target must exist, on \r\n(call $assembly/tree/Tree.Node\u003ci32>#get:payload)\r\n[wasm-validator error in function export:assembly/tree/Tree.Node\u003ci32>#get:left] unexpected false: local.get index must be small enough, on \r\n(local.get $0)\r\n[wasm-validator error in function export:assembly/tree/Tree.Node\u003ci32>#get:left] unexpected false: call target must exist, on \r\n(call $assembly/tree/Tree.Node\u003ci32>#get:left)\r\n[wasm-validator error in function export:assembly/tree/Tree.Node\u003ci32>#get:right] unexpected false: local.get index must be small enough, on \r\n(local.get $0)\r\n[wasm-validator error in function export:assembly/tree/Tree.Node\u003ci32>#get:right] unexpected false: call target must exist, on \r\n(call $assembly/tree/Tree.Node\u003ci32>#get:right)\r\nFAILURE validate error\r\n at Object.main (/Users/jon/git/sandbox/assemblyscript/issue1635/node_modules/assemblyscript/cli/asc.js:850:23)\r\n at /Users/jon/git/sandbox/assemblyscript/issue1635/node_modules/assemblyscript/bin/asc:19:47\r\n```\r\n\r\nI don't know why the getters aren't being emitted for the Node class, but that seems to be what the WASM validator is complaining about.","author":{"url":"https://github.com/jriehl","@type":"Person","name":"jriehl"},"datePublished":"2021-02-07T22:25:58Z","url":"https://github.com/AssemblyScript/assemblyscript/issues/1675"}
| 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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:28cd2a5a-c7df-0f76-2061-fe5ac214ac42 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9776:22F2F8:74A14D:A1FAC0:6B009E60 |
| html-safe-nonce | 4d6e05d8e5a168f5696a7ebcaae5282a115cb7f36abed9136cc74237735f87d6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Nzc2OjIyRjJGODo3NEExNEQ6QTFGQUMwOjZCMDA5RTYwIiwidmlzaXRvcl9pZCI6IjgyODUxMDY0MTEwMTczNzk0MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c93e40e5f97c4ecae04cc23c7e955fe05e7acc6911026387b031080ffa791998 |
| hovercard-subject-tag | issue:803076517 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/AssemblyScript/assemblyscript/1675/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ef43fe077e7def64ae7e5252786a2df3c5e9dbc222d915f8223ca845bf47715a/AssemblyScript/assemblyscript/issues/1675 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ef43fe077e7def64ae7e5252786a2df3c5e9dbc222d915f8223ca845bf47715a/AssemblyScript/assemblyscript/issues/1675 |
| og:image:alt | So a funny thing happened while on my way to trying to demonstrate #1635. Running from a fresh install of https://github.com/jriehl/sandbox/tree/master/assemblyscript/issue1635, I see the following... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jriehl |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52c95ce7e48016ae14399656b4ee812462b6f1fa28c5008c8394da64794c00b8 |
| turbo-cache-control | no-preview |
| 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 | 1c9ddec8215f9a94e295c8310c3579b9c54ba31a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width