-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
Repro:
class Base {
Base({required this.propriety});
String propriety;
}
class Second extends Base {
Second({required super.propriety});
}
class Third extends Second {
Third({required super.propriety});
}If you rename propriety to newName:
class Base {
Base({required this.newName});
String newName;
}
class Second extends Base {
Second({required super.newName});
}
class Third extends Second {
Third({required super.propriety}); // implicit_super_initializer_missing_arguments + super_formal_parameter_without_associated_named
}I'll take a look at this
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)