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

Unified Diff: tests/utils/dummy_compiler_test.dart

Issue 11817013: Do not apply optimizations based on an element if that element cannot be resolved. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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: tests/utils/dummy_compiler_test.dart
===================================================================
--- tests/utils/dummy_compiler_test.dart (revision 16853)
+++ tests/utils/dummy_compiler_test.dart (working copy)
@@ -39,8 +39,16 @@
source = '';
} else if (uri.path.endsWith('interceptors.dart')) {
source = """class ObjectInterceptor {}
- class JSArray {}
- class JSString {}
+ class JSArray {
+ var length;
+ var removeLast;
+ var add;
+ }
+ class JSString {
+ var length;
+ var split;
+ var concat;
+ }
class JSFunction {}
class JSInt {}
class JSDouble {}

Powered by Google App Engine
This is Rietveld 408576698