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

Unified Diff: sdk/lib/_internal/compiler/implementation/elements/elements.dart

Issue 14173003: Remove Collection, Collections and clean up List/Set/Queue implementations of retain/remove. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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: sdk/lib/_internal/compiler/implementation/elements/elements.dart
diff --git a/sdk/lib/_internal/compiler/implementation/elements/elements.dart b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
index 6e8580a1d2eeb95fe7ea10ad142aa7d511a9c8f8..18a13905255472557728d422f7f410d81b9df259 100644
--- a/sdk/lib/_internal/compiler/implementation/elements/elements.dart
+++ b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
@@ -462,8 +462,7 @@ class Elements {
static bool isListSupertype(Element element, Compiler compiler) {
LibraryElement coreLibrary = compiler.coreLibrary;
- return (element == coreLibrary.find(const SourceString('Collection')))
- || (element == coreLibrary.find(const SourceString('Iterable')));
+ return element == coreLibrary.find(const SourceString('Iterable'));
}
/// A `compareTo` function that places [Element]s in a consistent order based

Powered by Google App Engine
This is Rietveld 408576698