| Index: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| index 6cc883159cde6d55b89fd280cde8055fd4bf1e8d..754e5aa0bad1b1481b6868da298300901da924c3 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| @@ -757,6 +757,10 @@ class JavaScriptBackend extends Backend {
|
| // An interceptor constant references the class's prototype chain.
|
| InterceptorConstant interceptor = constant;
|
| registerInstantiatedConstantType(interceptor.dispatchedType, elements);
|
| + } else if (constant.isType()) {
|
| + TypeConstant typeConstant = constant;
|
| + registerTypeLiteral(typeConstant.representedType.element,
|
| + compiler.enqueuer.codegen, elements);
|
| }
|
| }
|
|
|
|
|