Closed
Description
class BuggedClass {
snacks:string[]=[];
static snacks(v:BuggedClass):void {}
}
let inst = new BuggedClass()
BuggedClass.snacks(inst);
When this code is compiled, the compiler misses an assertion at assemblyscript/src/program.ts:4624:3
, for compiler version 0.19.8.
If the static function is never called, no error is thrown.