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
classHello{prop: string// world: Inexistentworld: World}// @JSON// class World {// prop2: string// prop3: i32// cart: Bump// }consttestFunc=(hello: Hello): string=>{return'aa'}console.log('hello')
gives
$ npx asc assembly/test.ts --target release
Whoops, the AssemblyScript compiler has crashed during compile :-(
▌
▌ Here is the stack trace hinting at the problem, perhaps it's useful?
▌
▌ /my-proj/node_modules/assemblyscript/std/portable/index.js:198
▌ throw new AssertionError(message);
▌ ^
▌
▌ AssertionError: assertion failed
Issue 1: crash
Issue 2: removing testFunc then compiling gives no error. Should error with 'Unknown type World`