Index: pkg/compiler/lib/src/resolution/resolution_common.dart |
diff --git a/pkg/compiler/lib/src/resolution/resolution_common.dart b/pkg/compiler/lib/src/resolution/resolution_common.dart |
index cb045cf1c5a87774b25b87aef6d63abf20efa3f2..0f1a7784a4b65d976028c1acf95e1ae3e6e7fef5 100644 |
--- a/pkg/compiler/lib/src/resolution/resolution_common.dart |
+++ b/pkg/compiler/lib/src/resolution/resolution_common.dart |
@@ -160,9 +160,9 @@ class ResolverTask extends CompilerTask { |
if (element.isGenerativeConstructor) { |
// Even if there is no initializer list we still have to do the |
// resolution in case there is an implicit super constructor call. |
- InitializerResolver resolver = new InitializerResolver(visitor); |
- FunctionElement redirection = |
- resolver.resolveInitializers(element, tree); |
+ InitializerResolver resolver = |
+ new InitializerResolver(visitor, element, tree); |
+ FunctionElement redirection = resolver.resolveInitializers(); |
if (redirection != null) { |
resolveRedirectingConstructor(resolver, tree, element, redirection); |
} |