| 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 9591e18d0b00bd6d6bddc063a50d3ac362a11f4c..6d32001cb0a370a711e4981779f0a1706432fb77 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| @@ -878,7 +878,10 @@ class JavaScriptBackend extends Backend {
|
| enqueueInResolution(getCyclicThrowHelper(), elements);
|
| }
|
|
|
| - void registerTypeLiteral(Element element, TreeElements elements) {
|
| + void registerTypeLiteral(Element element,
|
| + Enqueuer enqueuer,
|
| + TreeElements elements) {
|
| + enqueuer.registerInstantiatedClass(typeImplementation, elements);
|
| enqueueInResolution(getCreateRuntimeType(), elements);
|
| // TODO(ahe): Might want to register [element] as an instantiated class
|
| // when reflection is used. However, as long as we disable tree-shaking
|
|
|