Index: tests/compiler/dart2js/deferred_not_in_main_test.dart |
diff --git a/tests/compiler/dart2js/deferred_not_in_main_test.dart b/tests/compiler/dart2js/deferred_not_in_main_test.dart |
index e27e6896a10194033867e56f9ee8fdd5d6ccdcd3..a7002c282e57ac7a48a73afd6233b674df98ca4d 100644 |
--- a/tests/compiler/dart2js/deferred_not_in_main_test.dart |
+++ b/tests/compiler/dart2js/deferred_not_in_main_test.dart |
@@ -68,12 +68,12 @@ void main() { |
library lib1; |
import 'dart:async'; |
-@def import 'lib2.dart'; |
+@def import 'lib2.dart' as lib2; |
const def = const DeferredLibrary('lib2'); |
void foo1() { |
- def.load().then((_) => foo2()); |
+ def.load().then((_) => lib2.foo2()); |
} |
""", |
"lib2.dart":""" |