Skip to content

AssemblyScript compiler has crashed during compile #2085

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
onegitcat opened this issue Sep 28, 2021 · 2 comments
Closed

AssemblyScript compiler has crashed during compile #2085

onegitcat opened this issue Sep 28, 2021 · 2 comments
Labels

Comments

@onegitcat
Copy link

▌ Whoops, the AssemblyScript compiler has crashed during compile :-(
▌ 
▌ Here is the stack trace hinting at the problem, perhaps it's useful?
▌ 
▌ AssertionError: assertion failed
▌     at assert (/code/aproject/node_modules/assemblyscript/dist/webpack:/assemblyscript/std/portable/index.js:200:11)
▌     at p.initThisFieldFlags (/code/aproject/node_modules/assemblyscript/dist/webpack:/assemblyscript/src/flow.ts:587:5)
▌     at Function.createParent (/code/aproject/node_modules/assemblyscript/dist/webpack:/assemblyscript/src/flow.ts:194:12)
▌     at new w (/code/aproject/node_modules/assemblyscript/dist/webpack:/assemblyscript/src/program.ts:3632:22)
▌     at f.ensureConstructor (/code/aproject/node_modules/assemblyscript/dist/webpack:/assemblyscript/src/compiler.ts:8897:20)
▌     at f.compileObjectLiteral (/code/aproject/node_modules/assemblyscript/dist/webpack:/assemblyscript/src/compiler.ts:8778:21)
▌     at f.compileLiteralExpression (/code/aproject/node_modules/assemblyscript/dist/webpack:/assemblyscript/src/compiler.ts:8108:21)
▌     at f.compileExpression (/code/aproject/node_modules/assemblyscript/dist/webpack:/assemblyscript/src/compiler.ts:3514:21)
▌     at f.compileGlobal (/code/aproject/node_modules/assemblyscript/dist/webpack:/assemblyscript/src/compiler.ts:1259:25)
▌     at f.compileTopLevelStatement (/code/aproject/node_modules/assemblyscript/dist/webpack:/assemblyscript/src/compiler.ts:2137:20)
▌ 
▌ If it refers to the dist files, try to 'npm install source-map-support' and
▌ run again, which should then show the actual code location in the sources.
▌ 
▌ If you see where the error is, feel free to send us a pull request. If not,
▌ please let us know: https://github.com/AssemblyScript/assemblyscript/issues
▌ 
▌ Thank you!
@romdotdog
Copy link
Contributor

Please provide code or a MCVE that leads to this crash

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in one week if no further activity occurs. Thank you for your contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants