Index: pkg/compiler/lib/src/mirrors/dart2js_member_mirrors.dart |
diff --git a/pkg/compiler/lib/src/mirrors/dart2js_member_mirrors.dart b/pkg/compiler/lib/src/mirrors/dart2js_member_mirrors.dart |
index f2e3c7cb02317d3dc15f1644b6e971bf3c2ff985..bd510c245cad546799a7f36da6c2d73587457545 100644 |
--- a/pkg/compiler/lib/src/mirrors/dart2js_member_mirrors.dart |
+++ b/pkg/compiler/lib/src/mirrors/dart2js_member_mirrors.dart |
@@ -204,7 +204,7 @@ class Dart2JsParameterMirror extends Dart2JsMemberMirror |
message: "Missing constant for parameter " |
"$parameter with default value.")); |
return _convertConstantToInstanceMirror(mirrorSystem, |
- constant, constant.value); |
+ constant, mirrorSystem.compiler.constants.getConstantValue(constant)); |
} |
return null; |
} |