| Index: pkg/compiler/lib/src/dump_info.dart
|
| diff --git a/pkg/compiler/lib/src/dump_info.dart b/pkg/compiler/lib/src/dump_info.dart
|
| index d44113721511b2b87657f592377ea4fa6de20774..523186ccf2616d5cb0d11d07900327696afc5e7f 100644
|
| --- a/pkg/compiler/lib/src/dump_info.dart
|
| +++ b/pkg/compiler/lib/src/dump_info.dart
|
| @@ -419,9 +419,11 @@ class DumpInfoTask extends CompilerTask implements InfoReporter {
|
| }
|
|
|
| final Map<Element, Set<Element>> _dependencies = {};
|
| - void registerDependency(Element source, Element target) {
|
| + void registerDependency(Element target) {
|
| if (compiler.options.dumpInfo) {
|
| - _dependencies.putIfAbsent(source, () => new Set()).add(target);
|
| + _dependencies
|
| + .putIfAbsent(compiler.currentElement, () => new Set())
|
| + .add(target);
|
| }
|
| }
|
|
|
|
|