You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
asc crash when use same name in class and namespace #2793
Fatal: Module::addGlobal: assembly/index/NS.v already exists
▌ Whoops, the AssemblyScript compiler has crashed during compile :-(
▌
▌ There is no stack trace. Perhaps a Binaryen exception above / in console?
▌
▌ > undefined
▌
▌ 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!
Activity
CountBleck commentedon Nov 14, 2023
That looks like a bug from how internal names are generated.
BREAKING CHANGE: Avoid collisions between static class/namespace members
Forbid duplicate static class and/or namespace members