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

Unified Diff: runtime/lib/byte_array.dart

Issue 11299048: Revert "Add List.first." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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/lib/array.dart ('k') | runtime/lib/growable_array.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/byte_array.dart
diff --git a/runtime/lib/byte_array.dart b/runtime/lib/byte_array.dart
index 6d7b2e7798109a9fe383009dc4ddd4c373368c36..0f97c3d20814c70f92ab99fbeb85e85707ee37ae 100644
--- a/runtime/lib/byte_array.dart
+++ b/runtime/lib/byte_array.dart
@@ -206,10 +206,6 @@ abstract class _ByteArrayBase {
"Cannot remove from a non-extendable array");
}
- get first {
- return this[0];
- }
-
get last {
return this[length - 1];
}
@@ -1688,10 +1684,6 @@ class _ByteArrayViewBase {
"Cannot remove from a non-extendable array");
}
- get first {
- return this[0];
- }
-
get last {
return this[length - 1];
}
« no previous file with comments | « runtime/lib/array.dart ('k') | runtime/lib/growable_array.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698