Clarify the semantics of tearing off an inherited abstract method #33951
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
I have the following code:
Dart analyzer does not produce any static errors, but the CFE is currently issuing an error indicating that the class
A
does not define a getter namedtest
. I couldn't find any place in the spec that would indicate that this should be an error. In particular, section 16.19.2 "Super Getter Access and Method Closurization" appears to indicate that this should be valid.Should this code produce an error?
If so, then I'll open an analyzer issue. If not, then I'll open a CFE issue.
The text was updated successfully, but these errors were encountered: