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

Unified Diff: tests/utils/dummy_compiler_test.dart

Issue 70703002: Add constructors for JSArray (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « tests/corelib/iterable_to_list_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/utils/dummy_compiler_test.dart
diff --git a/tests/utils/dummy_compiler_test.dart b/tests/utils/dummy_compiler_test.dart
index 4c0a4aa9d1d8c268d9a48098f250ae5c8dcbb49c..aad4e497c04d4a6f7348b50f0d2ab305406c5a6f 100644
--- a/tests/utils/dummy_compiler_test.dart
+++ b/tests/utils/dummy_compiler_test.dart
@@ -32,7 +32,7 @@ class int {}
class double{}
class String{}
class Function{}
-class List {}
+class List<E> {}
class Map {}
class Closure {}
class BoundClosure {}
@@ -57,7 +57,9 @@ class JSIndexable {
get length;
}
class JSMutableIndexable {}
-class JSArray implements JSIndexable {
+class JSArray<E> implements JSIndexable {
+ JSArray() {}
+ factory JSArray.typed(a) => a;
var removeLast;
var add;
}
« no previous file with comments | « tests/corelib/iterable_to_list_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698