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

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

Issue 2997413002: Support --use-kernel in memory_compiler (Closed)
Patch Set: Remove hack in source_loader Created 3 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 | « tests/compiler/dart2js/js_constant_test.dart ('k') | tests/compiler/dart2js/kernel/assert_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/js_spec_optimization_test.dart
diff --git a/tests/compiler/dart2js/js_spec_optimization_test.dart b/tests/compiler/dart2js/js_spec_optimization_test.dart
index 0e606751dd83874ea79a407a1080ec17184c3a11..439299aa87c258f0232bff1dfd355a2299899760 100644
--- a/tests/compiler/dart2js/js_spec_optimization_test.dart
+++ b/tests/compiler/dart2js/js_spec_optimization_test.dart
@@ -89,7 +89,7 @@ main() {
Uri uri = new Uri(scheme: 'dart', path: 'test');
var compiler = compilerFor(test, uri, expectedErrors: 0);
return compiler.run(uri).then((_) {
- var element = findElement(compiler, 'main');
+ MemberElement element = findElement(compiler, 'main');
var backend = compiler.backend;
String generated = backend.getGeneratedCode(element);
checker(generated);
« no previous file with comments | « tests/compiler/dart2js/js_constant_test.dart ('k') | tests/compiler/dart2js/kernel/assert_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698