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

Unified Diff: sdk/lib/_collection_dev/list.dart

Issue 27300003: Change "typedef" to "class" in core library and related tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update some dart2js tests and unparser. Created 7 years, 2 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 | « runtime/vm/class_finalizer.cc ('k') | sdk/lib/_internal/compiler/implementation/tree/unparser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_collection_dev/list.dart
diff --git a/sdk/lib/_collection_dev/list.dart b/sdk/lib/_collection_dev/list.dart
index 75486bffbc5349d425a31f37cdcac374197be864..661a86b33991ed7566717e6b2707772fad1e2c33 100644
--- a/sdk/lib/_collection_dev/list.dart
+++ b/sdk/lib/_collection_dev/list.dart
@@ -187,7 +187,8 @@ abstract class UnmodifiableListMixin<E> implements List<E> {
* All operations are defined in terms of `length`, `operator[]` and
* `operator[]=`, which need to be implemented.
*/
-typedef FixedLengthListBase<E> = ListBase<E> with FixedLengthListMixin<E>;
+abstract class FixedLengthListBase<E> =
+ ListBase<E> with FixedLengthListMixin<E>;
/**
* Abstract implementation of an unmodifiable list.
@@ -195,7 +196,8 @@ typedef FixedLengthListBase<E> = ListBase<E> with FixedLengthListMixin<E>;
* All operations are defined in terms of `length` and `operator[]`,
* which need to be implemented.
*/
-typedef UnmodifiableListBase<E> = ListBase<E> with UnmodifiableListMixin<E>;
+abstract class UnmodifiableListBase<E> =
+ ListBase<E> with UnmodifiableListMixin<E>;
class _ListIndicesIterable extends ListIterable<int> {
List _backedList;
« no previous file with comments | « runtime/vm/class_finalizer.cc ('k') | sdk/lib/_internal/compiler/implementation/tree/unparser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698