Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Unified Diff: pkg/compiler/lib/src/js_emitter/type_test_registry.dart

Issue 2918913003: Handle list and map literals (Closed)
Patch Set: Updated cf. comments Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/js_emitter/type_test_registry.dart
diff --git a/pkg/compiler/lib/src/js_emitter/type_test_registry.dart b/pkg/compiler/lib/src/js_emitter/type_test_registry.dart
index adb9c2593fa5446ee55bc17a1dcec2d2b6a328f2..1409b1c3496c23b07b893523dc5f8b9be08e6251 100644
--- a/pkg/compiler/lib/src/js_emitter/type_test_registry.dart
+++ b/pkg/compiler/lib/src/js_emitter/type_test_registry.dart
@@ -13,7 +13,6 @@ import '../elements/resolution_types.dart'
ResolutionDartType,
ResolutionFunctionType,
ResolutionInterfaceType,
- Types,
ResolutionTypeVariableType;
import '../elements/types.dart';
import '../js_backend/runtime_types.dart'
@@ -135,7 +134,7 @@ class TypeTestRegistry {
// 3. Add classes that contain checked generic function types. These are
// needed to store the signature encoding.
for (ResolutionFunctionType type in checkedFunctionTypes) {
- ClassElement contextClass = Types.getClassContext(type);
+ ClassElement contextClass = DartTypes.getClassContext(type);
if (contextClass != null) {
_rtiNeededClasses.add(contextClass);
}
« no previous file with comments | « pkg/compiler/lib/src/js_backend/runtime_types.dart ('k') | pkg/compiler/lib/src/kernel/element_map_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698