feat(ivy): ngcc - implement UndecoratedParentMigration
(#31544)
Implementing the "undecorated parent" migration described in https://hackmd.io/sfb3Ju2MTmKHSUiX_dLWGg#Design PR Close #31544
This commit is contained in:

committed by
Misko Hevery

parent
4d93d2406f
commit
59c3700c8c
@ -61,6 +61,17 @@ export enum ErrorCode {
|
||||
* Raised when ngcc tries to inject a synthetic decorator over one that already exists.
|
||||
*/
|
||||
NGCC_MIGRATION_DECORATOR_INJECTION_ERROR = 7001,
|
||||
|
||||
/**
|
||||
* Raised when ngcc tries to decorate a base class that was imported from outside the package.
|
||||
*/
|
||||
NGCC_MIGRATION_EXTERNAL_BASE_CLASS = 7002,
|
||||
|
||||
/**
|
||||
* Raised when ngcc tries to migrate a class that is extended from a dynamic base class
|
||||
* expression.
|
||||
*/
|
||||
NGCC_MIGRATION_DYNAMIC_BASE_CLASS = 7003,
|
||||
}
|
||||
|
||||
export function ngErrorCode(code: ErrorCode): number {
|
||||
|
Reference in New Issue
Block a user