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

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/js_array.dart

Issue 11360228: Simplify runtime type support. (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
Index: sdk/lib/_internal/compiler/implementation/lib/js_array.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/js_array.dart b/sdk/lib/_internal/compiler/implementation/lib/js_array.dart
index 43876ef2aa07b3ea074f1b62f8900c2a832f91b9..e2af9b6e53e932d2280a4997ee1210f337fd7bef 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/js_array.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/js_array.dart
@@ -167,7 +167,7 @@ class JSArray<E> implements List<E> {
int get hashCode => Primitives.objectHashCode(receiver);
- Type get runtimeType => createRuntimeType('List');
+ Type get runtimeType => List;
ngeoffray 2012/11/22 17:09:39 You're missing the type parameters, and this is th
karlklose 2012/11/23 08:47:46 Done.
int get length => JS('int', r'#.length', this);

Powered by Google App Engine
This is Rietveld 408576698