-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
Milestone
Description
🔎 Search Terms
override symbol
override symbol member
override in:title
🕗 Version & Regression Information
- This is the behavior in every version I tried
⏯ Playground Link
💻 Code
const foo = Symbol();
class A {
}
class B extends A {
override [foo]() { }
} 🙁 Actual behavior
It compiles.
🙂 Expected behavior
There should be an error: This member cannot have an 'override' modifier because it is not declared in the base class 'A'.
Additional information about the issue
No response