You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Compiler generates references to a deprecated class. #14521
[x] bug report => search github for a similar issue or PR before submitting
Current behavior
When using *ngFor, the compiler will generate a reference to NgFor in the provider for the component. NgFor is deprecated in favor of NgForOf<T> and will issue warning if the code is checked for references to deprecated symbols.
Expected behavior
The compiler should only generated references to deprecated classes only if a depreciated class is declared or imported into the module it is declared in and part of the template matches the selector for the component or directive.
Minimal reproduction of the problem with instructions
Any template with a *ngFor.
What is the motivation / use case for changing the behavior?
Activity
fix(common): do not reference deprecated classes in providers (#14523) (
fix(common): do not reference deprecated classes in providers (angula…
fix(common): do not reference deprecated classes in providers (angula…
angular-automatic-lock-bot commentedon Sep 10, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.