Skip to content

feat(compiler): extract api for fn overloads and abtract classes#52040

Closed
jelbourn wants to merge 1 commit intoangular:mainfrom
jelbourn:abstract-plus
Closed

feat(compiler): extract api for fn overloads and abtract classes#52040
jelbourn wants to merge 1 commit intoangular:mainfrom
jelbourn:abstract-plus

Conversation

@jelbourn
Copy link
Copy Markdown
Contributor

@jelbourn jelbourn commented Oct 5, 2023

This commit adds support for extracting function overloads. Interestingly, this worked in an earlier version when the code was extracting all statements in every source file, but the existing compiler API for extracting all exported declarations from an entry-point only returns the first function declaration in cases when there are overloads.

This also marks abstract classes as abstract, required inputs as required, and filters out Angular-private APIs.

(I started off just doing simpler things here, then thought "I can sneak in function overloads too, that will be simple". It was not.)

@jelbourn jelbourn added area: compiler Issues related to `ngc`, Angular's template compiler target: minor This PR is targeted for the next minor release labels Oct 5, 2023
@jelbourn jelbourn requested a review from atscott October 5, 2023 04:41
@ngbot ngbot bot added this to the Backlog milestone Oct 5, 2023
@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Oct 5, 2023
This commit adds support for extracting function overloads. Interestingly, this worked in an earlier version when the code was extracting all statements in every source file, but the existing compiler API for extracting all exported declarations from an entry-point only returns the first function declaration in cases when there are overloads.

This also marks abstract classes as abstract, required inputs as required, and filters out Angular-private APIs.
@angular-robot angular-robot bot requested a review from atscott October 9, 2023 18:28
@jelbourn jelbourn added the action: merge The PR is ready for merge by the caretaker label Oct 9, 2023
@atscott
Copy link
Copy Markdown
Contributor

atscott commented Oct 9, 2023

This PR was merged into the repository by commit 7bfe207.

@atscott atscott closed this in 7bfe207 Oct 9, 2023
@angular-automatic-lock-bot
Copy link
Copy Markdown

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 9, 2023
ChellappanRajan pushed a commit to ChellappanRajan/angular that referenced this pull request Jan 23, 2024
…ular#52040)

This commit adds support for extracting function overloads. Interestingly, this worked in an earlier version when the code was extracting all statements in every source file, but the existing compiler API for extracting all exported declarations from an entry-point only returns the first function declaration in cases when there are overloads.

This also marks abstract classes as abstract, required inputs as required, and filters out Angular-private APIs.

PR Close angular#52040
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: compiler Issues related to `ngc`, Angular's template compiler detected: feature PR contains a feature commit target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants