Description
Here is the error info:
/Users/dean/assemblyscript/std/portable/index.js:198
throw new AssertionError(message);
^
AssertionError: assertion failed
at null.Y.assert (/Users/dean/assemblyscript/std/portable/index.js:198:11)
at sr.visitElement (/Users/dean/assemblyscript/src/bindings/util.ts:116:16)
at sr.visitFile (/Users/dean/assemblyscript/src/bindings/util.ts:58:14)
at sr.visitFile (/Users/dean/assemblyscript/src/bindings/util.ts:65:14)
at sr.walk (/Users/dean/assemblyscript/src/bindings/util.ts:46:64)
at sr.build (/Users/dean/assemblyscript/src/bindings/tsd.ts:201:10)
at Function.build (/Users/dean/assemblyscript/src/bindings/tsd.ts:41:41)
at Module.XS (/Users/dean/assemblyscript/src/index-wasm.ts:363:21)
at Module.Mn (/Users/dean/assemblyscript/cli/index.js:974:35)
at async file:///Users/dean/assemblyscript/bin/asc.js:33:22
I'am trying to Translate https://github.com/EsotericSoftware/spine-runtimes/tree/4.1/spine-ts/spine-core to assemblyscript. Some moduler like Texutre and AssetManager has been removed and hunders of error has been fixed, but still get lots of warnings and all of them are like:"WARNING AS235: Only variables, functions and enums become WebAssembly module exports.".