| Index: pkg/analyzer/lib/src/error/codes.dart
|
| diff --git a/pkg/analyzer/lib/src/error/codes.dart b/pkg/analyzer/lib/src/error/codes.dart
|
| index d87b593ce4f10c9467aa5edc44be8f18f8a0a109..000948ae45e3a0b9d529ee713536c0774984ba43 100644
|
| --- a/pkg/analyzer/lib/src/error/codes.dart
|
| +++ b/pkg/analyzer/lib/src/error/codes.dart
|
| @@ -2204,6 +2204,19 @@ class CompileTimeErrorCode extends ErrorCode {
|
| */
|
| class HintCode extends ErrorCode {
|
| /**
|
| + * When an abstract supertype member is references with `super` as its target,
|
| + * it cannot be overridden, so it is always a runtime error.
|
| + *
|
| + * Parameters:
|
| + * 0: the display name for the kind of the referenced element
|
| + * 1: the name of the referenced element
|
| + */
|
| + static const HintCode ABSTRACT_SUPER_MEMBER_REFERENCE = const HintCode(
|
| + 'ABSTRACT_SUPER_MEMBER_REFERENCE',
|
| + "The {0} '{1}' is always abstract in the supertype.",
|
| + null);
|
| +
|
| + /**
|
| * This hint is generated anywhere where the
|
| * [StaticWarningCode.ARGUMENT_TYPE_NOT_ASSIGNABLE] would have been generated,
|
| * if we used propagated information for the warnings.
|
|
|