Skip to content

Not support override keyword #2353

New issue

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

Closed
HerrCai0907 opened this issue Jun 30, 2022 · 0 comments · Fixed by #2366
Closed

Not support override keyword #2353

HerrCai0907 opened this issue Jun 30, 2022 · 0 comments · Fixed by #2366

Comments

@HerrCai0907
Copy link
Member

class A {
  aa(): void {}
}
class Foo extends A {
  override aa(): void {}
}
ERROR TS1110: Type expected.

   override aa(): void {}
   ~~~~~~~~
 in assembly/index.ts(7,3)

FAILURE 1 parse error(s)
@MaxGraey MaxGraey changed the title Not support override Not support override keyword Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant