-
Notifications
You must be signed in to change notification settings - Fork 227
Open
Labels
requestRequests to resolve a particular developer problemRequests to resolve a particular developer problem
Description
I believe allowing constructors with arguments to be default would save us a lot of typing and dead-weight code space.
class FieldModel {
FieldModel(Map data) {
...
}
}
class SealerModel extends FieldModel {
// SealerModel(Map data) : super(data);
}
Instead of the compile error I'd like that constructor to be picked up and used as default for the subclass.
error: The superclass 'FieldModel' doesn't have a zero argument constructor. (no_default_super_constructor_implicit at ...
ThinkDigitalSoftware and cedvdb
Metadata
Metadata
Assignees
Labels
requestRequests to resolve a particular developer problemRequests to resolve a particular developer problem