Index: pkg/compiler/lib/src/mirrors/dart2js_instance_mirrors.dart |
diff --git a/pkg/compiler/lib/src/mirrors/dart2js_instance_mirrors.dart b/pkg/compiler/lib/src/mirrors/dart2js_instance_mirrors.dart |
index 9a2cbe29423176e09a923f8680d2f1c79c98bf97..55d8789b22a10c40f87960ea2073a479dfd1bf0a 100644 |
--- a/pkg/compiler/lib/src/mirrors/dart2js_instance_mirrors.dart |
+++ b/pkg/compiler/lib/src/mirrors/dart2js_instance_mirrors.dart |
@@ -56,7 +56,7 @@ InstanceMirror _convertConstantToInstanceMirror( |
} else if (value.isConstructedObject) { |
return new Dart2JsConstructedConstantMirror(mirrorSystem, constant, value); |
} |
- mirrorSystem.compiler.internalError(NO_LOCATION_SPANNABLE, |
+ mirrorSystem.compiler.reporter.internalError(NO_LOCATION_SPANNABLE, |
"Unexpected constant value $value"); |
return null; |
} |