<!-- Thanks for submitting an issue to AssemblyScript! Please take a moment to read the contributing guidelines linked below to get off to a good start 🙂 --> ## Code ```ts class Foo extends Foo { bar(): void {} } ``` Strangely if you omit the `void` return type like this ```ts class Foo extends Foo { bar() {} } ``` only the AS playground enters an infinite loop while the main branch just exits with a parse error ``` ERROR TS1110: Type expected. bar() {} ^ in test.ts(2,8) ```