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

Unified Diff: dart/frog/leg/lib/mock.dart

Issue 9355031: Improve List implementation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased and resolved conflicts Created 8 years, 10 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 | « dart/frog/leg/lib/js_helper.dart ('k') | dart/frog/leg/lib/mockimpl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/lib/mock.dart
diff --git a/dart/frog/leg/lib/mock.dart b/dart/frog/leg/lib/mock.dart
index fe97f98a5517cf700cd307d98a4e5e7d4f7abd67..7d679dde9d8a0c6d661d447028dc7da2d34264af 100644
--- a/dart/frog/leg/lib/mock.dart
+++ b/dart/frog/leg/lib/mock.dart
@@ -20,11 +20,4 @@ class InternalError {
// TODO(ahe): VM specfic exception?
class StaticResolutionException implements Exception {}
-class List<E> implements Iterable<E> {
- factory List([int length]) => Primitives.newList(length);
- factory List.from(Iterable<E> other) {
- throw 'List.from is not implemented';
- }
-}
-
void assert(condition) {}
« no previous file with comments | « dart/frog/leg/lib/js_helper.dart ('k') | dart/frog/leg/lib/mockimpl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698