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

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

Issue 1299413002: Move common identifiers, names and selectors to a separate library. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 5 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/patch_test.dart ('k') | tests/compiler/dart2js/use_checks_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/trust_type_annotations2_test.dart
diff --git a/tests/compiler/dart2js/trust_type_annotations2_test.dart b/tests/compiler/dart2js/trust_type_annotations2_test.dart
index cf8ad8a921850e2484062aa4eca6131432469023..4eeb0a66366cab14fe21407fd37582d715e7bbc4 100644
--- a/tests/compiler/dart2js/trust_type_annotations2_test.dart
+++ b/tests/compiler/dart2js/trust_type_annotations2_test.dart
@@ -29,7 +29,7 @@ main() {
memorySourceFiles: MEMORY_SOURCE_FILES,
options: ['--trust-type-annotations']);
var compiler = result.compiler;
- var element = compiler.mainApp.findExported('main');
+ var element = compiler.mainFunction;
var code = compiler.backend.assembleCode(element);
Expect.isTrue(code.contains('+'), code);
});
« no previous file with comments | « tests/compiler/dart2js/patch_test.dart ('k') | tests/compiler/dart2js/use_checks_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698