Skip to content

Commit 0f92bba

Browse files
stereotype441Commit Queue
authored andcommitted
[analyzer] Fix extra space in comments generated for error codes.
Change-Id: If980905994de99c43aea53d2afd1c224142760e7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/443881 Auto-Submit: Paul Berry <[email protected]> Commit-Queue: Konstantin Shcheglov <[email protected]> Reviewed-by: Konstantin Shcheglov <[email protected]>
1 parent c5eba84 commit 0f92bba

File tree

9 files changed

+1849
-1849
lines changed

9 files changed

+1849
-1849
lines changed

pkg/_fe_analyzer_shared/lib/src/scanner/errors.g.dart

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ library;
2727
import "package:_fe_analyzer_shared/src/base/errors.dart";
2828

2929
class ScannerErrorCode extends DiagnosticCode {
30-
/// Parameters:
31-
/// 0: the token that was expected but not found
30+
/// Parameters:
31+
/// 0: the token that was expected but not found
3232
static const ScannerErrorCode EXPECTED_TOKEN = const ScannerErrorCode(
3333
'EXPECTED_TOKEN',
3434
"Expected to find '{0}'.",
3535
);
3636

37-
/// Parameters:
38-
/// 0: the illegal character
37+
/// Parameters:
38+
/// 0: the illegal character
3939
static const ScannerErrorCode ILLEGAL_CHARACTER = const ScannerErrorCode(
4040
'ILLEGAL_CHARACTER',
4141
"Illegal character '{0}'.",
@@ -61,8 +61,8 @@ class ScannerErrorCode extends DiagnosticCode {
6161
"Expected quote (' or \").",
6262
);
6363

64-
/// Parameters:
65-
/// 0: the path of the file that cannot be read
64+
/// Parameters:
65+
/// 0: the path of the file that cannot be read
6666
static const ScannerErrorCode UNABLE_GET_CONTENT = const ScannerErrorCode(
6767
'UNABLE_GET_CONTENT',
6868
"Unable to get content of '{0}'.",
@@ -84,8 +84,8 @@ class ScannerErrorCode extends DiagnosticCode {
8484
correctionMessage: "Try removing the '_'.",
8585
);
8686

87-
/// Parameters:
88-
/// 0: the unsupported operator
87+
/// Parameters:
88+
/// 0: the unsupported operator
8989
static const ScannerErrorCode UNSUPPORTED_OPERATOR = const ScannerErrorCode(
9090
'UNSUPPORTED_OPERATOR',
9191
"The '{0}' operator is not supported.",

0 commit comments

Comments
 (0)