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

Unified Diff: lib/compiler/implementation/native_handler.dart

Issue 10447088: Add a new magic element type for annotating types that have Javascript array behavior. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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: lib/compiler/implementation/native_handler.dart
===================================================================
--- lib/compiler/implementation/native_handler.dart (revision 8103)
+++ lib/compiler/implementation/native_handler.dart (working copy)
@@ -83,6 +83,7 @@
library.define(new ForeignElement(
const SourceString('native'), library), compiler);
library.canUseNative = true;
+ library.define(compiler.javaScriptIndexingBehaviorInterface, compiler);
ahe 2012/06/12 18:30:04 For the unit tests, it may make sense to test for
ngeoffray 2012/06/13 13:02:42 Done.
}
// Additionaly, if this is a test, we allow access to foreign functions.

Powered by Google App Engine
This is Rietveld 408576698