Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
This repository was archived by the owner on May 22, 2025. It is now read-only.

Tsickle decorator down-leveling removes all decorators #674

Closed

Description

@chuckjaz

When any decorator is down-leveled, all decorators are removed instead of just the ones that were down-leveled.

See angular/angular#20864

To reproduce see alxhub/angular@b4835e3

The issue appears to be here:

newClassDeclaration.decorators = undefined;

This unconditionally removes all decorators from the class instead of just removing the decorator that was down-leveled.

Activity

  1. changed the title [-]Tsickle decorator downl-eveling removes all decorators[/-] [+]Tsickle decorator down-leveling removes all decorators[/+] on Dec 15, 2017
  2. self-assigned this
    on Dec 15, 2017
  3. added 4 commits that reference this issue on Dec 15, 2017
    f22b2e6
    4a4905c
    9d49a7f
    8b6440c
  4. added a commit that references this issue on Dec 15, 2017
    b74eeec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions