Index: pkg/compiler/lib/src/library_loader.dart |
diff --git a/pkg/compiler/lib/src/library_loader.dart b/pkg/compiler/lib/src/library_loader.dart |
index f0b296b1581b9663c8886a416fb63127667a9264..b37371e84a83dd396be817d2ca2dcb62294de43b 100644 |
--- a/pkg/compiler/lib/src/library_loader.dart |
+++ b/pkg/compiler/lib/src/library_loader.dart |
@@ -1078,7 +1078,7 @@ class LibraryDependencyNode { |
if (element == null) { |
if (combinator.isHide) { |
if (library.isPackageLibrary && |
- !reporter.options.showPackageWarnings) { |
+ reporter.options.hidePackageWarnings) { |
// Only report hide hint on packages if we show warnings on these: |
// The hide may be non-empty in some versions of the package, in |
// which case you shouldn't remove the combinator. |