| Index: pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart b/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart
|
| index 99c46ca8a3461756540770966cb1519263428a79..6afef1bb9577051bd3dc4c836bac31fa345c5c68 100644
|
| --- a/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart
|
| @@ -178,8 +178,7 @@ class CustomElementsAnalysisJoin {
|
|
|
| TypeConstantValue makeTypeConstant(ClassElement element) {
|
| DartType elementType = element.rawType;
|
| - DartType constantType = backend.typeImplementation.rawType;
|
| - return new TypeConstantValue(elementType, constantType);
|
| + return backend.constantSystem.createType(compiler, elementType);
|
| }
|
|
|
| List<Element> computeEscapingConstructors(ClassElement classElement) {
|
|
|