| Index: pkg/compiler/lib/src/compiler.dart
|
| diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
|
| index 0d6edac0eadb4d6f880645dc193f33c8d6f713c7..b636c206fc481d72ac87322779828f5e741b93fd 100644
|
| --- a/pkg/compiler/lib/src/compiler.dart
|
| +++ b/pkg/compiler/lib/src/compiler.dart
|
| @@ -2227,6 +2227,9 @@ bool invariant(Spannable spannable, var condition, {var message: null}) {
|
| /// Returns `true` when [s] is private if used as an identifier.
|
| bool isPrivateName(String s) => !s.isEmpty && s.codeUnitAt(0) == $_;
|
|
|
| +/// Returns `true` when [s] is public if used as an identifier.
|
| +bool isPublicName(String s) => !isPrivateName(s);
|
| +
|
| /// A sink that drains into /dev/null.
|
| class NullSink implements EventSink<String> {
|
| final String name;
|
|
|