| Index: pkg/compiler/lib/src/js_backend/constant_system_javascript.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart b/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart
|
| index 3ebe90f647733d73db675be4a7a728af7593a8da..3dca32bb4515634d3d6e46465927ddeec5b7a12c 100644
|
| --- a/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart
|
| @@ -263,7 +263,8 @@ class JavaScriptConstantSystem extends ConstantSystem {
|
| @override
|
| ConstantValue createType(Compiler compiler, DartType type) {
|
| return new TypeConstantValue(
|
| - type, compiler.backend.typeImplementation.computeType(compiler));
|
| + type,
|
| + compiler.backend.typeImplementation.computeType(compiler.resolution));
|
| }
|
|
|
| // Integer checks don't verify that the number is not -0.0.
|
| @@ -321,7 +322,7 @@ class JavaScriptConstantSystem extends ConstantSystem {
|
| : JavaScriptMapConstant.DART_STRING_CLASS)
|
| : JavaScriptMapConstant.DART_GENERAL_CLASS;
|
| ClassElement classElement = backend.jsHelperLibrary.find(className);
|
| - classElement.ensureResolved(compiler);
|
| + classElement.ensureResolved(compiler.resolution);
|
| List<DartType> typeArgument = sourceType.typeArguments;
|
| InterfaceType type;
|
| if (sourceType.treatAsRaw) {
|
|
|