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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/util/link.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
Index: dart/sdk/lib/_internal/compiler/implementation/util/link.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/util/link.dart b/dart/sdk/lib/_internal/compiler/implementation/util/link.dart
index c50a3c671cc43b043db117df56848032e48a35c8..d16ae6cce472e95d0d84ea50550cddc5727eeacc 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/util/link.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/util/link.dart
@@ -57,6 +57,10 @@ class Link<T> extends Iterable<T> {
}
String toString() => "[]";
+
+ get length {
+ throw new UnsupportedError('get:length');
+ }
}
abstract class LinkBuilder<T> {
« no previous file with comments | « dart/sdk/lib/_internal/compiler/implementation/tree/unparser.dart ('k') | dart/tests/compiler/dart2js/compiler_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698