Closed
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