-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
area-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.improve-diagnosticsRelated to the quality of diagnostic messagesRelated to the quality of diagnostic messages
Description
Repro:
abstract class C {
abstract C operator +(Cother);
//^ abstract_class_member
}Message:
Members of classes can't be declared to be 'abstract'.
Try removing the 'abstract' keyword. You can add the 'abstract' keyword before the class declaration.
I'm guessing that operators can't be declared abstract, but this message makes no sense.
CC @bwilkerson
Metadata
Metadata
Assignees
Labels
area-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.improve-diagnosticsRelated to the quality of diagnostic messagesRelated to the quality of diagnostic messages