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
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.".
The text was updated successfully, but these errors were encountered:
Regarding "WARNING AS235: Only variables, functions and enums become WebAssembly module exports", this warning is emitted when exporting an element that does not materialize a concrete export on the Wasm/JS boundary, yet. Removing the respective export gets rid of the warning. Only relevant in the main entry file(s).
The assertion being hit looks like a bug that might be related to exporting such elements, as it is hit in src/bindings/util.ts in ExportsWalker#visitElement, which walks these exports. Perhaps, when removing the export keywords, could you check which one also fixes the assertion?
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.".
The text was updated successfully, but these errors were encountered: