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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart

Issue 11788016: Update dart2js unit tests to new library API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: No need to implement Iterable Created 7 years, 11 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
« no previous file with comments | « no previous file | dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart b/dart/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart
index 487736f354d45dc33eb25700f39dc092593c0c43..a844975f6812f7769bfb2e0c686449d5588c7e4a 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart
@@ -439,7 +439,7 @@ class PlaceholderCollector extends Visitor {
static bool isPlainTypeName(TypeAnnotation typeAnnotation) {
if (typeAnnotation.typeName is !Identifier) return false;
if (typeAnnotation.typeArguments == null) return true;
- if (typeAnnotation.typeArguments.length == 0) return true;
+ if (typeAnnotation.typeArguments.isEmpty) return true;
return false;
}
« no previous file with comments | « no previous file | dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698