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

Unified Diff: sdk/lib/_internal/lib/foreign_helper.dart

Issue 17301008: Remove =List in JS, use JSExtendableArray instead. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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
Index: sdk/lib/_internal/lib/foreign_helper.dart
===================================================================
--- sdk/lib/_internal/lib/foreign_helper.dart (revision 24309)
+++ sdk/lib/_internal/lib/foreign_helper.dart (working copy)
@@ -34,10 +34,6 @@
* [typeDescription] has several extensions to help describe the behavior more
* accurately. In addition to the union type already described:
*
- * + `=List` is the JavaScript array type. This is more precise than `List`,
- * which includes about fifty DOM types that also implement the List
- * interface.
- *
* + `=Object` is a plain JavaScript object. Some DOM methods return instances
* that have no corresponing Dart type (e.g. cross-frame documents),
* `=Object` can be used to describe these untyped' values.
@@ -47,9 +43,6 @@
*
* Examples:
*
- * // Create a JavaScript Array.
- * List a = JS('=List', 'new Array(#)', length);
- *
* // Parent window might be an opaque cross-frame window.
* var thing = JS('=Object|Window', '#.parent', myWindow);
*
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart ('k') | sdk/lib/_internal/lib/isolate_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698