| Index: pkg/compiler/lib/src/resolution/send_resolver.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/send_resolver.dart b/pkg/compiler/lib/src/resolution/send_resolver.dart
|
| index 7ef2a8623d4479392decc12b5123ab2f15ba2fba..b8b056318195f82c7cb48ee417560332ec834f42 100644
|
| --- a/pkg/compiler/lib/src/resolution/send_resolver.dart
|
| +++ b/pkg/compiler/lib/src/resolution/send_resolver.dart
|
| @@ -59,7 +59,8 @@ class ConstructorDeclStructure<R, A> extends DeclStructure<R, A> {
|
|
|
| class RedirectingFactoryConstructorDeclStructure<R, A>
|
| extends DeclStructure<R, A> {
|
| - InterfaceType redirectionTargetType;
|
| + // TODO(ahe): Construct invalid something instead.
|
| + DartType redirectionTargetType;
|
| ConstructorElement redirectionTarget;
|
|
|
| RedirectingFactoryConstructorDeclStructure(ConstructorElement constructor,
|
| @@ -224,12 +225,15 @@ abstract class DeclarationResolverMixin {
|
| bool constructorInvocationSeen = false;
|
| if (list != null) {
|
| for (Node initializer in list) {
|
| - InitializerStructure structure =
|
| - computeInitializerStructure(initializer);
|
| - if (structure.isConstructorInvoke) {
|
| - constructorInvocationSeen = true;
|
| + if (elements[initializer] != null) {
|
| + // TODO(ahe): Create erroneous structure.
|
| + InitializerStructure structure =
|
| + computeInitializerStructure(initializer);
|
| + if (structure.isConstructorInvoke) {
|
| + constructorInvocationSeen = true;
|
| + }
|
| + initializers.add(structure);
|
| }
|
| - initializers.add(structure);
|
| }
|
| }
|
| if (!constructorInvocationSeen) {
|
|
|