| Index: pkg/compiler/lib/src/resolution/members.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/members.dart b/pkg/compiler/lib/src/resolution/members.dart
|
| index 40ed27de0c4b60a5300c91a46f189696eb0f90cf..88252e5e04d55152fb556c1cacced7b17d78194e 100644
|
| --- a/pkg/compiler/lib/src/resolution/members.dart
|
| +++ b/pkg/compiler/lib/src/resolution/members.dart
|
| @@ -3152,8 +3152,8 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> {
|
| MessageKind.CANNOT_RETURN_FROM_CONSTRUCTOR);
|
| } else if (!node.isArrowBody && currentAsyncMarker.isYielding) {
|
| compiler.reportError(
|
| - node,
|
| - MessageKind.RETURN_IN_GENERATOR,
|
| + node,
|
| + MessageKind.RETURN_IN_GENERATOR,
|
| {'modifier': currentAsyncMarker});
|
| }
|
| }
|
| @@ -4427,8 +4427,8 @@ class ClassResolverVisitor extends TypeDefinitionVisitor {
|
|
|
| FunctionElement createForwardingConstructor(ConstructorElement target,
|
| ClassElement enclosing) {
|
| - return new SynthesizedConstructorElementX(
|
| - target.name, target, enclosing, false);
|
| + return new SynthesizedConstructorElementX.notForDefault(
|
| + target.name, target, enclosing);
|
| }
|
|
|
| void doApplyMixinTo(MixinApplicationElementX mixinApplication,
|
|
|