Index: pkg/compiler/lib/src/js_backend/runtime_types.dart |
diff --git a/pkg/compiler/lib/src/js_backend/runtime_types.dart b/pkg/compiler/lib/src/js_backend/runtime_types.dart |
index a5136ad59a067589dafdd2e6556dfc47390c8cfd..7d1c0a4e3c090b266f0a72970d3fb101f7fd1839 100644 |
--- a/pkg/compiler/lib/src/js_backend/runtime_types.dart |
+++ b/pkg/compiler/lib/src/js_backend/runtime_types.dart |
@@ -265,7 +265,8 @@ class _RuntimeTypes implements RuntimeTypes { |
// JSArray needs type arguments. |
// TODO(karlklose): make this dependency visible from code. |
if (backend.jsArrayClass != null) { |
- registerRtiDependency(backend.jsArrayClass, compiler.listClass); |
+ registerRtiDependency( |
+ backend.jsArrayClass, compiler.coreClasses.listClass); |
} |
// Compute the set of all classes and methods that need runtime type |
// information. |