Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
fix(ngcc): override
getInternalNameOfClass()
and `getAdjacentNameOf…
…Class()` for ES5 (#33533) In ES5 the class consists of an outer variable declaration that is initialised by an IIFE. Inside the IIFE the class is implemented by an inner function declaration that is returned from the IIFE. This inner declaration may have a different name to the outer declaration. This commit overrides `getInternalNameOfClass()` and `getAdjacentNameOfClass()` in `Esm5ReflectionHost` with methods that can find the correct inner declaration name identifier. PR Close #33533
- Loading branch information
1 parent
90f33dd
commit 93a23b9
Showing
5 changed files
with
237 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters