Index: dart/tests/try/poi/compiler_test_case.dart |
diff --git a/dart/tests/try/poi/compiler_test_case.dart b/dart/tests/try/poi/compiler_test_case.dart |
index ce5903306b22267ebcb71e26fbac1458263f9df0..7642364706385127b366501f6ffdf5c28c517f5d 100644 |
--- a/dart/tests/try/poi/compiler_test_case.dart |
+++ b/dart/tests/try/poi/compiler_test_case.dart |
@@ -59,7 +59,7 @@ abstract class CompilerTestCase { |
CompilerTestCase(String source, [String path]) |
: this.intermediate(source, customUri(path == null ? 'main.dart' : path)); |
- Future<LibraryElement> get mainApp { |
+ Future<LibraryElement> loadMainApp() { |
return compiler.libraryLoader.loadLibrary(scriptUri) |
.then((LibraryElement library) { |
if (compiler.mainApp == null) { |
@@ -77,7 +77,7 @@ abstract class CompilerTestCase { |
/// Returns a future for the mainApp after running the compiler. |
Future<LibraryElement> compile() { |
- return mainApp.then((LibraryElement library) { |
+ return loadMainApp().then((LibraryElement library) { |
return compiler.runCompiler(scriptUri).then((_) => library); |
}); |
} |