Chromium Code Reviews| Index: pkg/compiler/lib/src/deferred_load.dart |
| diff --git a/pkg/compiler/lib/src/deferred_load.dart b/pkg/compiler/lib/src/deferred_load.dart |
| index 155c54dc39a247e03d71e6503ebdc1162db6b85c..fe9a4731edb41b6c4a3165dc2a876a4fb0ccfd1d 100644 |
| --- a/pkg/compiler/lib/src/deferred_load.dart |
| +++ b/pkg/compiler/lib/src/deferred_load.dart |
| @@ -319,7 +319,9 @@ class DeferredLoadTask extends CompilerTask { |
| elements.add(type.element); |
| collectTypeDependencies(type.unaliased); |
| } else if (type is ResolutionInterfaceType) { |
| - elements.add(type.element); |
| + if (elements.add(type.element)) { |
| + collectTypeDependencies(type.element.supertype); |
|
Siggi Cherem (dart-lang)
2017/08/11 21:34:52
I believe this may be including transitive deps, w
|
| + } |
| } |
| } |