Index: pkg/front_end/lib/src/fasta/parser/identifier_context.dart |
diff --git a/pkg/front_end/lib/src/fasta/parser/identifier_context.dart b/pkg/front_end/lib/src/fasta/parser/identifier_context.dart |
index 17d04f4a202954f4feceed42da43c0117e517ac4..66cafdce24149bd85bd4c724515f9f23d3f30e0d 100644 |
--- a/pkg/front_end/lib/src/fasta/parser/identifier_context.dart |
+++ b/pkg/front_end/lib/src/fasta/parser/identifier_context.dart |
@@ -249,8 +249,8 @@ class IdentifierContext { |
inDeclaration: true); |
/// Identifier is a reference to a label (e.g. `foo` in `break foo;`). |
- static const labelReference = |
- const IdentifierContext._('labelReference', isScopeReference: true); |
+ /// Labels have their own scope. |
+ static const labelReference = const IdentifierContext._('labelReference'); |
final String _name; |