Title: New `transforms` option doesn’t instantiate transform · Issue #1813 · AssemblyScript/assemblyscript · GitHub
Open Graph Title: New `transforms` option doesn’t instantiate transform · Issue #1813 · AssemblyScript/assemblyscript
X Title: New `transforms` option doesn’t instantiate transform · Issue #1813 · AssemblyScript/assemblyscript
Description: In #1786, y’all kindly added a new transform options to the cli’s main() because of our discussion in torch2424/as-bind#75. However, I didn’t realize that the new code path doesn’t actually instantiate the transform or fixes up the proto...
Open Graph Description: In #1786, y’all kindly added a new transform options to the cli’s main() because of our discussion in torch2424/as-bind#75. However, I didn’t realize that the new code path doesn’t actually instant...
X Description: In #1786, y’all kindly added a new transform options to the cli’s main() because of our discussion in torch2424/as-bind#75. However, I didn’t realize that the new code path doesn’t actually instant...
Opengraph URL: https://github.com/AssemblyScript/assemblyscript/issues/1813
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"New `transforms` option doesn’t instantiate transform","articleBody":"In #1786, y’all kindly added a new `transform` options to the cli’s `main()` because of our discussion in torch2424/as-bind#75. However, I didn’t realize that the new code path doesn’t actually instantiate the transform or fixes up the prototype.\r\n\r\nTransforms passed via `--transform` get this code path:\r\nhttps://github.com/AssemblyScript/assemblyscript/blob/7d0690d91877a43a000bf17035c08acecaa93a25/cli/asc.js#L519-L529\r\n\r\nwhile the new `main()` parameter gets:\r\n\r\nhttps://github.com/AssemblyScript/assemblyscript/blob/7d0690d91877a43a000bf17035c08acecaa93a25/cli/asc.js#L505\r\n\r\nI think it’d be great if both ways to pass in transforms get the same fix-ups applied.","author":{"url":"https://github.com/surma","@type":"Person","name":"surma"},"datePublished":"2021-04-18T09:52:11Z","url":"https://github.com/AssemblyScript/assemblyscript/issues/1813"}
| 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:6979dc3f-3b54-3ffb-60e5-8e055ef73d3b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B9BC:31A2E1:601A0C:80360D:6B00AA44 |
| html-safe-nonce | 804b82c368cacf33cdbc5c8b2634f940502376bc451e11b952fa5a081aca10f4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUJDOjMxQTJFMTo2MDFBMEM6ODAzNjBEOjZCMDBBQTQ0IiwidmlzaXRvcl9pZCI6IjQzNDc4OTQyMzk5MTMzNTU4NDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5dfd5539e56a41b09f94550320796f19ba2f2da7287587f749ba14bbb3b7b4a8 |
| hovercard-subject-tag | issue:860621445 |
| 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/1813/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6a2509ed8e8dad63cd8e75928dfa4614a15a076ed6e6d508f164f73ac805b2ec/AssemblyScript/assemblyscript/issues/1813 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6a2509ed8e8dad63cd8e75928dfa4614a15a076ed6e6d508f164f73ac805b2ec/AssemblyScript/assemblyscript/issues/1813 |
| og:image:alt | In #1786, y’all kindly added a new transform options to the cli’s main() because of our discussion in torch2424/as-bind#75. However, I didn’t realize that the new code path doesn’t actually instant... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | surma |
| hostname | github.com |
| expected-hostname | github.com |
| None | 455b493e3402a3a3a06beac5d20bb7db3da060808b220aa48d6a7eca7c59863a |
| 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 | 2f575159976167242d488c0b062eb355c4e198b7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width