Index: pkg/compiler/lib/src/resolution/resolution.dart |
diff --git a/pkg/compiler/lib/src/resolution/resolution.dart b/pkg/compiler/lib/src/resolution/resolution.dart |
index 2a25c18ef0fa9888b73207517cb097aa07518365..4ea5aff5f2d2f4ce57e97c9e7f00869d71971da0 100644 |
--- a/pkg/compiler/lib/src/resolution/resolution.dart |
+++ b/pkg/compiler/lib/src/resolution/resolution.dart |
@@ -59,11 +59,16 @@ import 'typedefs.dart'; |
class ResolverTask extends CompilerTask { |
final ConstantCompiler constantCompiler; |
+ final Compiler compiler; |
- ResolverTask(Compiler compiler, this.constantCompiler) : super(compiler); |
+ ResolverTask(Compiler compiler, this.constantCompiler) |
+ : compiler = compiler, |
+ super(compiler.measurer); |
String get name => 'Resolver'; |
+ DiagnosticReporter get reporter => compiler.reporter; |
+ |
Resolution get resolution => compiler.resolution; |
ParsingContext get parsingContext => compiler.parsingContext; |