Index: pkg/fasta/lib/src/kernel/body_builder.dart |
diff --git a/pkg/fasta/lib/src/kernel/body_builder.dart b/pkg/fasta/lib/src/kernel/body_builder.dart |
index 10c608be2f3ce4d8632287de0fb122ed8cc3c386..9b9d7ac4a5177af0386ad5175bd5dbccd82c69c0 100644 |
--- a/pkg/fasta/lib/src/kernel/body_builder.dart |
+++ b/pkg/fasta/lib/src/kernel/body_builder.dart |
@@ -2157,7 +2157,7 @@ class BodyBuilder extends ScopeListener<JumpTarget> implements BuilderHelper { |
if (trailing.contains(token.stringValue) && trailing.contains(string)) { |
// We're just trying to get out an error. |
if (recoverableErrors.isNotEmpty) { |
- reportError(token, ErrorKind.UNSPECIFIED, |
+ reportError(token, ErrorKind.Unspecified, |
{"text": "Expected: '$string', but got '${token.value}'"}); |
} |
return token; |