Poor recovery with comma in extends clause #22313
Labels
area-front-end
Use area-front-end for front end / CFE / kernel format related issues.
front-end-fasta-recovery
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
Enter the following code in a Dart file:
class A { }
class B { }
class Foo extends A, B {
Foo() { }
}
This results in many errors being produced, but only one is useful: the extends clause takes a single type, not a list of types. We should have a single error with a better error message.
The text was updated successfully, but these errors were encountered: