Index: pkg/compiler/lib/src/js_backend/patch_resolver.dart |
diff --git a/pkg/compiler/lib/src/js_backend/patch_resolver.dart b/pkg/compiler/lib/src/js_backend/patch_resolver.dart |
index 521dd2dccba435e26b86b232c691e8445a3c5f26..17a4a4e33edba1d436a1fad8c427aafefde7e5e8 100644 |
--- a/pkg/compiler/lib/src/js_backend/patch_resolver.dart |
+++ b/pkg/compiler/lib/src/js_backend/patch_resolver.dart |
@@ -14,7 +14,12 @@ import '../elements/modelx.dart'; |
import '../tree/tree.dart'; |
class PatchResolverTask extends CompilerTask { |
- PatchResolverTask(Compiler compiler) : super(compiler); |
+ final Compiler compiler; |
+ PatchResolverTask(Compiler compiler) |
+ : compiler = compiler, |
+ super(compiler.measurer); |
+ |
+ DiagnosticReporter get reporter => compiler.reporter; |
Resolution get resolution => compiler.resolution; |