Chromium Code Reviews
DescriptionImprove error reporting when a mixin application is invalid.
For a situation like this:
class B {
B({int i});
}
class M {}
class C extends B with M {
C() : super();
}
we report the error at the node "with M", with the message "This mixin
application is invalid because all of the constructors in the base
class 'B' have optional parameters.".
Previously we would report the error at the site of the super call,
leaving the user no idea why there was a problem.
BUG=dartbug.com/19576
R=scheglov@google.com
Committed: https://code.google.com/p/dart/source/detail?r=41745
Patch Set 1 #
Total comments: 1
Messages
Total messages: 6 (1 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||