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

Unified Diff: tests/compiler/dart2js/js_constant_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/compiler_helper.dart ('k') | tests/compiler/dart2js/js_spec_optimization_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/js_constant_test.dart
diff --git a/tests/compiler/dart2js/js_constant_test.dart b/tests/compiler/dart2js/js_constant_test.dart
index 341edbc98cea28a6afc881515f2608b4f9129282..0438606f876751a4f434fd0c3e5b6b5a161fb3e8 100644
--- a/tests/compiler/dart2js/js_constant_test.dart
+++ b/tests/compiler/dart2js/js_constant_test.dart
@@ -20,7 +20,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);
checkerForAbsentPresent(test)(generated);
« no previous file with comments | « tests/compiler/dart2js/compiler_helper.dart ('k') | tests/compiler/dart2js/js_spec_optimization_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698