Index: sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart b/sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart |
index a03ce3acb8c881fe167871a39347b108fc2b045c..ac4ec0925ddaaa2c3954122da2d467299e909606 100644 |
--- a/sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart |
+++ b/sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart |
@@ -177,7 +177,7 @@ ApplicationException _cycleError(PackageGraph graph, String dependee, |
pairs(path).map((pair) { |
var transformers = unionAll(graph.packages[pair.first].pubspec.transformers) |
.where((id) => id.asset.package == pair.last) |
- .map(idToLibraryIdentifier).toList(); |
+ .map((id) => idToLibraryIdentifier(id.asset)).toList(); |
if (transformers.isEmpty) { |
return " ${pair.first} depends on ${pair.last}"; |
} else { |