| Index: third_party/pkg/di/test_assets/gen_test1/main.dart
|
| diff --git a/third_party/pkg/di/test/assets/gen_test1/main.dart b/third_party/pkg/di/test_assets/gen_test1/main.dart
|
| similarity index 76%
|
| rename from third_party/pkg/di/test/assets/gen_test1/main.dart
|
| rename to third_party/pkg/di/test_assets/gen_test1/main.dart
|
| index 1b68333591812733fb27f7df2332241356fc257c..c1c6dd899e4a5d73a61928edc170abbf05e823ce 100644
|
| --- a/third_party/pkg/di/test/assets/gen_test1/main.dart
|
| +++ b/third_party/pkg/di/test_assets/gen_test1/main.dart
|
| @@ -9,12 +9,17 @@ import 'a.dart' as a;
|
| @lazyB
|
| import 'b.dart' as b;
|
|
|
| +@lazyC
|
| +import 'c.dart' as c;
|
| +
|
| const lazyA = const DeferredLibrary('lib_a');
|
| const lazyB = const DeferredLibrary('lib_b');
|
| +const lazyC = const DeferredLibrary('lib_c');
|
|
|
| void main() {
|
| lazyA.load().then(onALoaded);
|
| lazyB.load().then(onBLoaded);
|
| + lazyC.load().then(onCLoaded);
|
| }
|
|
|
| void onALoaded(_) {
|
| @@ -27,7 +32,11 @@ void onBLoaded(_) {
|
| serviceB.sayHi();
|
| }
|
|
|
| -@Injectable()
|
| +void onCLoaded(_) {
|
| + c.cStuff();
|
| +}
|
| +
|
| +@InjectableTest()
|
| class ServiceMain {
|
| sayHi() {
|
| print('Hi ServiceMain!');
|
|
|