Open
Description
Bug description
class NS {
static v: i32 = 2;
}
namespace NS {
let v: i32 = 1;
}
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!
Steps to reproduce
npm run asbuild
AssemblyScript version
latest