We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class Foo extends Foo { bar(): void {} }
Strangely if you omit the void return type like this
void
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)
The text was updated successfully, but these errors were encountered:
fix: class extends itself AssemblyScript#2201
c4e1b89
Successfully merging a pull request may close this issue.
Code
Strangely if you omit the
void
return type like thisonly the AS playground enters an infinite loop while the main branch just exits with a parse error
The text was updated successfully, but these errors were encountered: