Index: pkg/compiler/lib/src/cps_ir/scalar_replacement.dart |
diff --git a/pkg/compiler/lib/src/cps_ir/scalar_replacement.dart b/pkg/compiler/lib/src/cps_ir/scalar_replacement.dart |
index b9b6b09c378c616acfcca8d7b99027923a292bfc..4de0cab000bc89a54f0dd4226ffa2705d5210a13 100644 |
--- a/pkg/compiler/lib/src/cps_ir/scalar_replacement.dart |
+++ b/pkg/compiler/lib/src/cps_ir/scalar_replacement.dart |
@@ -43,7 +43,7 @@ class ScalarReplacer extends Pass { |
final World _classWorld; |
ScalarReplacer(dart2js.Compiler compiler) |
- : _internalError = compiler.internalError, |
+ : _internalError = compiler.reporter.internalError, |
_classWorld = compiler.world; |
@override |