Index: sdk/lib/_internal/compiler/implementation/warnings.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/warnings.dart b/sdk/lib/_internal/compiler/implementation/warnings.dart |
index 1ab44c1d00d990999bdfb96e37200c1d08ba887f..97b7cfa98e8a4b9d6996fa07f8e0594739780743 100644 |
--- a/sdk/lib/_internal/compiler/implementation/warnings.dart |
+++ b/sdk/lib/_internal/compiler/implementation/warnings.dart |
@@ -38,6 +38,9 @@ class MessageKind { |
'#{className}.#{memberName} is not static'); |
static const NO_INSTANCE_AVAILABLE = const MessageKind( |
'#{name} is only available in instance methods'); |
+ static const PRIVATE_ACCESS = const MessageKind( |
+ "'#{name}' is declared private within library #{libraryName} and " |
+ "is therefore not accessible."); |
static const THIS_IS_THE_METHOD = const MessageKind( |
"This is the method declaration."); |