mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
refactor(compiler-cli): remove unused error codes (#46847)
A few codes were unused, or no longer used. PR Close #46847
This commit is contained in:
parent
ac6e7fa97e
commit
49e1912e1d
2 changed files with 1 additions and 7 deletions
|
|
@ -31,8 +31,6 @@ export enum ErrorCode {
|
|||
// (undocumented)
|
||||
DECORATOR_NOT_CALLED = 1003,
|
||||
// (undocumented)
|
||||
DECORATOR_ON_ANONYMOUS_CLASS = 1004,
|
||||
// (undocumented)
|
||||
DECORATOR_UNEXPECTED = 1005,
|
||||
DIRECTIVE_INHERITS_UNDECORATED_CTOR = 2006,
|
||||
// (undocumented)
|
||||
|
|
@ -72,8 +70,6 @@ export enum ErrorCode {
|
|||
SUGGEST_STRICT_TEMPLATES = 10001,
|
||||
SUGGEST_SUBOPTIMAL_TYPE_INFERENCE = 10002,
|
||||
// (undocumented)
|
||||
SYMBOL_EXPORTED_UNDER_DIFFERENT_NAME = 3002,
|
||||
// (undocumented)
|
||||
SYMBOL_NOT_EXPORTED = 3001,
|
||||
TEMPLATE_PARSE_ERROR = 5002,
|
||||
TEXT_ATTRIBUTE_NOT_BINDING = 8104,
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ export enum ErrorCode {
|
|||
DECORATOR_ARG_NOT_LITERAL = 1001,
|
||||
DECORATOR_ARITY_WRONG = 1002,
|
||||
DECORATOR_NOT_CALLED = 1003,
|
||||
DECORATOR_ON_ANONYMOUS_CLASS = 1004,
|
||||
DECORATOR_UNEXPECTED = 1005,
|
||||
|
||||
/**
|
||||
|
|
@ -73,7 +72,6 @@ export enum ErrorCode {
|
|||
COMPONENT_UNKNOWN_IMPORT = 2012,
|
||||
|
||||
SYMBOL_NOT_EXPORTED = 3001,
|
||||
SYMBOL_EXPORTED_UNDER_DIFFERENT_NAME = 3002,
|
||||
/**
|
||||
* Raised when a relationship between directives and/or pipes would cause a cyclic import to be
|
||||
* created that cannot be handled, such as in partial compilation mode.
|
||||
|
|
@ -269,7 +267,7 @@ export enum ErrorCode {
|
|||
/**
|
||||
* Indicates that the binding suffix is not supported
|
||||
*
|
||||
* Style bindings support suffixes like `stlye.width.px`, `.em`, and `.%`.
|
||||
* Style bindings support suffixes like `style.width.px`, `.em`, and `.%`.
|
||||
* These suffixes are _not_ supported for attribute bindings.
|
||||
*
|
||||
* For example `[attr.width.px]="5"` becomes `width.px="5"` when bound.
|
||||
|
|
|
|||
Loading…
Reference in a new issue