| Index: pkg/analyzer/lib/src/dart/error/lint_codes.dart
|
| diff --git a/pkg/analyzer/lib/src/dart/error/lint_codes.dart b/pkg/analyzer/lib/src/dart/error/lint_codes.dart
|
| index 0fd6824796bfc385113bf58c6e4cb05960ef7bc2..9faaef6c5d1879938cc95c95aa20a030553ff3eb 100644
|
| --- a/pkg/analyzer/lib/src/dart/error/lint_codes.dart
|
| +++ b/pkg/analyzer/lib/src/dart/error/lint_codes.dart
|
| @@ -22,4 +22,11 @@ class LintCode extends ErrorCode {
|
|
|
| @override
|
| ErrorType get type => ErrorType.LINT;
|
| +
|
| + /**
|
| + * Overridden so that [LintCode] and its subclasses share the same uniqueName
|
| + * pattern (we know how to identify a lint even if we don't know the specific
|
| + * subclass the lint's code is defined in.
|
| + */
|
| + String get uniqueName => "LintCode.$name";
|
| }
|
|
|