René's URL Explorer Experiment


Title: Crash (AssertionError) when using an interface inside a namespace · Issue #1599 · AssemblyScript/assemblyscript · GitHub

Open Graph Title: Crash (AssertionError) when using an interface inside a namespace · Issue #1599 · AssemblyScript/assemblyscript

X Title: Crash (AssertionError) when using an interface inside a namespace · Issue #1599 · AssemblyScript/assemblyscript

Description: Hi! First thanks for all the work on AssemblyScript, it's getting really interesting! 👏 Looking forward to closures support, and really impressed to see a working GC :) It seems that the compiler is crashing when an interface is declared...

Open Graph Description: Hi! First thanks for all the work on AssemblyScript, it's getting really interesting! 👏 Looking forward to closures support, and really impressed to see a working GC :) It seems that the compiler i...

X Description: Hi! First thanks for all the work on AssemblyScript, it's getting really interesting! 👏 Looking forward to closures support, and really impressed to see a working GC :) It seems that the compil...

Opengraph URL: https://github.com/AssemblyScript/assemblyscript/issues/1599

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Crash (AssertionError) when using an interface inside a namespace","articleBody":"Hi!\r\n\r\nFirst thanks for all the work on AssemblyScript, it's getting really interesting! 👏 Looking forward to closures support, and really impressed to see a working GC :) \r\n\r\nIt seems that the compiler is crashing when an interface is declared inside a namespace. Hope it's not already reported somewhere, but I could not find anything similar. \r\n\r\nTrying to compile this file:\r\n```ts\r\nexport namespace test {\r\n  interface SomeInterface {\r\n    member: boolean;\r\n  };\r\n}\r\n```\r\n\r\nWill result in this error:\r\n```\r\nError [AssertionError]: assertion failed\r\n    at i.assert (/Users/florian/Projects/F/assembly-script-tests/node_modules/assemblyscript/dist/assemblyscript.js:7:701080)\r\n    at T.compileElement (/Users/florian/Projects/F/assembly-script-tests/node_modules/assemblyscript/dist/assemblyscript.js:7:201113)\r\n    at T.compileElement (/Users/florian/Projects/F/assembly-script-tests/node_modules/assemblyscript/dist/assemblyscript.js:7:201226)\r\n    at T.compileExports (/Users/florian/Projects/F/assembly-script-tests/node_modules/assemblyscript/dist/assemblyscript.js:7:201399)\r\n    at T.compile (/Users/florian/Projects/F/assembly-script-tests/node_modules/assemblyscript/dist/assemblyscript.js:7:192905)\r\n    at Object.t.compile (/Users/florian/Projects/F/assembly-script-tests/node_modules/assemblyscript/dist/assemblyscript.js:7:438198)\r\n    at /Users/florian/Projects/F/assembly-script-tests/node_modules/assemblyscript/cli/asc.js:715:29\r\n    at measure (/Users/florian/Projects/F/assembly-script-tests/node_modules/assemblyscript/cli/asc.js:1099:3)\r\n    at Object.main (/Users/florian/Projects/F/assembly-script-tests/node_modules/assemblyscript/cli/asc.js:714:24)\r\n    at /Users/florian/Projects/F/assembly-script-tests/node_modules/assemblyscript/bin/asc:21:47\r\n/Users/florian/Projects/F/assembly-script-tests/node_modules/binaryen/index.js:54\r\nfunction Ka(){var b=a.preRun.shift();Fa.unshift(b)}var L=0,La=null,Ma=null;a.preloadedImages={};a.preloadedAudios={};function q(b){if(a.onAbort)a.onAbort(b);v(b);wa=!0;throw new va(\"abort(\"+b+\"). Build with -s ASSERTIONS=1 for more info.\");}function Na(b){var d=Oa;return String.prototype.startsWith?b.startsWith(d):0===b.indexOf(d)}var Oa=\"data:application/octet-stream;base64,\",Pa=\"\u003c\u003c\u003c WASM_BINARY_FILE >>>\";if(!Na(Pa)){var Qa=Pa;Pa=a.locateFile?a.locateFile(Qa,p):p+Qa}var Ra,Sa;\r\n                                                                                                                                                                        ^\r\n\r\nError: abort(AssertionError: assertion failed). Build with -s ASSERTIONS=1 for more info.\r\n    at process.q (/Users/florian/Projects/F/assembly-script-tests/node_modules/binaryen/index.js:54:175)\r\n    at process.emit (events.js:315:20)\r\n    at processPromiseRejections (internal/process/promises.js:245:33)\r\n    at processTicksAndRejections (internal/process/task_queues.js:94:32)\r\n```\r\n\r\nI've checked the parser tests and it seems that interface should be supported, but maybe not in namespaces? \r\nIt seems this could generate other issues, because I have a larger file that continue to crash with interfaces even when taken outside of the namespace, but I figured I would first report this minimal case :) ","author":{"url":"https://github.com/4ian","@type":"Person","name":"4ian"},"datePublished":"2020-12-23T19:25:40Z","url":"https://github.com/AssemblyScript/assemblyscript/issues/1599"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:52c2138c-b442-f4e9-4697-bbce949ea625
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id85D0:1DB827:75F48C:A31B37:6B009E73
html-safe-nonce491e57c014411d518b13a7c286a160bceb5971b6c79a413245d74c07027e5385
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUQwOjFEQjgyNzo3NUY0OEM6QTMxQjM3OjZCMDA5RTczIiwidmlzaXRvcl9pZCI6IjcyNDYyMTA4MTIwMzYwMzAwNjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8d6fc35470ee380b4e8e8545ad6a1768260ec922f43974398dad57e44c883ea8
hovercard-subject-tagissue:774000088
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/AssemblyScript/assemblyscript/1599/issue_layout
twitter:imagehttps://opengraph.githubassets.com/937085d69fc92c0fb8640004e709deff699bcd193fde17ccf77bead215f4dca8/AssemblyScript/assemblyscript/issues/1599
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/937085d69fc92c0fb8640004e709deff699bcd193fde17ccf77bead215f4dca8/AssemblyScript/assemblyscript/issues/1599
og:image:altHi! First thanks for all the work on AssemblyScript, it's getting really interesting! 👏 Looking forward to closures support, and really impressed to see a working GC :) It seems that the compiler i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:username4ian
hostnamegithub.com
expected-hostnamegithub.com
None52c95ce7e48016ae14399656b4ee812462b6f1fa28c5008c8394da64794c00b8
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1c9ddec8215f9a94e295c8310c3579b9c54ba31a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/AssemblyScript/assemblyscript/issues/1599#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fissues%2F1599
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%2Fissues%2F1599
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=AssemblyScript%2Fassemblyscript
Reloadhttps://github.com/AssemblyScript/assemblyscript/issues/1599
Reloadhttps://github.com/AssemblyScript/assemblyscript/issues/1599
Reloadhttps://github.com/AssemblyScript/assemblyscript/issues/1599
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
https://github.com/AssemblyScript/assemblyscript
New issuehttps://github.com/login?return_to=https://github.com/AssemblyScript/assemblyscript/issues/1599
New issuehttps://github.com/login?return_to=https://github.com/AssemblyScript/assemblyscript/issues/1599
#1600https://github.com/AssemblyScript/assemblyscript/pull/1600
Crash (AssertionError) when using an interface inside a namespacehttps://github.com/AssemblyScript/assemblyscript/issues/1599#top
#1600https://github.com/AssemblyScript/assemblyscript/pull/1600
bughttps://github.com/AssemblyScript/assemblyscript/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/4ian
4ianhttps://github.com/4ian
on Dec 23, 2020https://github.com/AssemblyScript/assemblyscript/issues/1599#issue-774000088
https://github.com/dcodeIO
dcodeIOhttps://github.com/dcodeIO
on Dec 23, 2020https://github.com/AssemblyScript/assemblyscript/issues/1599#issuecomment-750446157
dcodeIOhttps://github.com/dcodeIO
bughttps://github.com/AssemblyScript/assemblyscript/issues?q=state%3Aopen%20label%3A%22bug%22
on Dec 23, 2020https://github.com/AssemblyScript/assemblyscript/issues/1599#event-4145326722
dcodeIOhttps://github.com/dcodeIO
completedhttps://github.com/AssemblyScript/assemblyscript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#1600https://github.com/AssemblyScript/assemblyscript/pull/1600
on Dec 27, 2020https://github.com/AssemblyScript/assemblyscript/issues/1599#event-4150252684
https://github.com/4ian
4ianhttps://github.com/4ian
on Dec 27, 2020https://github.com/AssemblyScript/assemblyscript/issues/1599#issuecomment-751462433
@dcodeIOhttps://github.com/dcodeIO
Sign up for freehttps://github.com/signup?return_to=https://github.com/AssemblyScript/assemblyscript/issues/1599
Sign in to commenthttps://github.com/login?return_to=https://github.com/AssemblyScript/assemblyscript/issues/1599
bughttps://github.com/AssemblyScript/assemblyscript/issues?q=state%3Aopen%20label%3A%22bug%22
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.