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

Unified Diff: tests/compiler/dart2js/call_site_type_inferer_test.dart

Issue 10831285: Revert "Register toString dynamic invocation in the presence of string interpolation." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
« no previous file with comments | « lib/compiler/implementation/resolver.dart ('k') | tests/compiler/dart2js/compiler_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/call_site_type_inferer_test.dart
diff --git a/tests/compiler/dart2js/call_site_type_inferer_test.dart b/tests/compiler/dart2js/call_site_type_inferer_test.dart
index 704cba584695580d30974f941284d8cef96b9112..418948dbc2487cdf82bc9610dcd6fc1cd6a32cde 100644
--- a/tests/compiler/dart2js/call_site_type_inferer_test.dart
+++ b/tests/compiler/dart2js/call_site_type_inferer_test.dart
@@ -9,6 +9,12 @@
#import('compiler_helper.dart');
#import('parser_helper.dart');
+findElement(var compiler, String name) {
+ var element = compiler.mainApp.find(buildSourceString(name));
+ Expect.isNotNull(element, 'Could not locate $name.');
+ return element;
+}
+
void compileAndFind(String code,
String className,
String memberName,
« no previous file with comments | « lib/compiler/implementation/resolver.dart ('k') | tests/compiler/dart2js/compiler_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698