| Index: pkg/analyzer/lib/src/generated/error.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/error.dart b/pkg/analyzer/lib/src/generated/error.dart
|
| index 01a5c69a0ee093cf7b6c076cd0e5e254e8338301..e83214d979adb075d0f2c838383de9d1bdfba4b8 100644
|
| --- a/pkg/analyzer/lib/src/generated/error.dart
|
| +++ b/pkg/analyzer/lib/src/generated/error.dart
|
| @@ -2832,12 +2832,6 @@ class ErrorType extends Enum<ErrorType> {
|
| static const ErrorType SYNTACTIC_ERROR =
|
| const ErrorType('SYNTACTIC_ERROR', 6, ErrorSeverity.ERROR);
|
|
|
| - /**
|
| - * Polymer specific semantic problems.
|
| - */
|
| - static const ErrorType POLYMER =
|
| - const ErrorType('POLYMER', 7, ErrorSeverity.INFO);
|
| -
|
| static const List<ErrorType> values = const [
|
| TODO,
|
| HINT,
|
| @@ -2845,8 +2839,7 @@ class ErrorType extends Enum<ErrorType> {
|
| CHECKED_MODE_COMPILE_TIME_ERROR,
|
| STATIC_WARNING,
|
| STATIC_TYPE_WARNING,
|
| - SYNTACTIC_ERROR,
|
| - POLYMER];
|
| + SYNTACTIC_ERROR];
|
|
|
| /**
|
| * The severity of this type of error.
|
| @@ -3236,54 +3229,6 @@ class HtmlWarningCode extends ErrorCode {
|
| }
|
|
|
| /**
|
| - * The enumeration `PolymerCode` defines Polymer specific problems.
|
| - */
|
| -class PolymerCode extends ErrorCode {
|
| - static const PolymerCode ATTRIBUTE_FIELD_NOT_PUBLISHED = const PolymerCode(
|
| - 'ATTRIBUTE_FIELD_NOT_PUBLISHED',
|
| - "Field '{0}' in '{1}' must be @published");
|
| -
|
| - static const PolymerCode DUPLICATE_ATTRIBUTE_DEFINITION = const PolymerCode(
|
| - 'DUPLICATE_ATTRIBUTE_DEFINITION',
|
| - "The attribute '{0}' is already defined");
|
| -
|
| - static const PolymerCode EMPTY_ATTRIBUTES = const PolymerCode(
|
| - 'EMPTY_ATTRIBUTES',
|
| - "Empty 'attributes' attribute is useless");
|
| -
|
| - static const PolymerCode INVALID_ATTRIBUTE_NAME = const PolymerCode(
|
| - 'INVALID_ATTRIBUTE_NAME',
|
| - "'{0}' is not a valid name for a custom element attribute");
|
| -
|
| - static const PolymerCode INVALID_TAG_NAME = const PolymerCode(
|
| - 'INVALID_TAG_NAME',
|
| - "'{0}' is not a valid name for a custom element");
|
| -
|
| - static const PolymerCode MISSING_TAG_NAME = const PolymerCode(
|
| - 'MISSING_TAG_NAME',
|
| - "Missing tag name of the custom element. Please include an attribute like name='your-tag-name'");
|
| -
|
| - static const PolymerCode UNDEFINED_ATTRIBUTE_FIELD = const PolymerCode(
|
| - 'UNDEFINED_ATTRIBUTE_FIELD',
|
| - "There is no such field '{0}' in '{1}'");
|
| -
|
| - /**
|
| - * Initialize a newly created error code to have the given [name]. The message
|
| - * associated with the error will be created from the given [message]
|
| - * template. The correction associated with the error will be created from the
|
| - * given [correction] template.
|
| - */
|
| - const PolymerCode(String name, String message, [String correction])
|
| - : super(name, message, correction);
|
| -
|
| - @override
|
| - ErrorSeverity get errorSeverity => ErrorSeverity.INFO;
|
| -
|
| - @override
|
| - ErrorType get type => ErrorType.POLYMER;
|
| -}
|
| -
|
| -/**
|
| * The class `StaticTypeWarningCode` defines the error codes used for static
|
| * type warnings. The convention for this class is for the name of the error
|
| * code to indicate the problem that caused the error to be generated and for
|
|
|