| Index: runtime/vm/parser.cc
|
| diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc
|
| index 797b5235d630cf2c29a9bef0ad755aaecc19978b..1488e5f9527fa152f6077e05f9634ca4eca46c20 100644
|
| --- a/runtime/vm/parser.cc
|
| +++ b/runtime/vm/parser.cc
|
| @@ -2457,8 +2457,7 @@ SequenceNode* Parser::MakeImplicitConstructor(const Function& func) {
|
| // expressions and then calls the respective super constructor with
|
| // the same name and number of parameters.
|
| ArgumentListNode* forwarding_args = NULL;
|
| - if (current_class().is_mixin_app_alias() ||
|
| - current_class().IsMixinApplication()) {
|
| + if (current_class().IsMixinApplication()) {
|
| // At this point we don't support forwarding constructors
|
| // that have optional parameters because we don't know the default
|
| // values of the optional parameters. We would have to compile the super
|
| @@ -9029,7 +9028,7 @@ bool Parser::ResolveIdentInLocalScope(intptr_t ident_pos,
|
| // If the current class is the result of a mixin application, we must
|
| // use the class scope of the class from which the function originates.
|
| Class& cls = Class::Handle(isolate());
|
| - if (!current_class().IsMixinApplication()) {
|
| + if (!current_class().IsAnonymousMixinApplication()) {
|
| cls = current_class().raw();
|
| } else {
|
| cls = parsed_function()->function().origin();
|
|
|