Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove some unneeded parameters from NodeBuilder APIs #57994

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

weswigham
Copy link
Member

@weswigham weswigham commented Mar 28, 2024

The includePrivateSymbol being passed around became extraneous when the emitter started overriding the SymbolTracker in the context with once that calls its' active includePrivateSymbol hook. And bundled is just trivially calculable from the initial context information, and literally never changed as it was passed around.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Mar 28, 2024
type Input = {
timer: Timer;
hook: Hook;
};
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The order private symbols get added to the output by the symbol tracker alone is potentially slightly different than the one you got when we were using both the symbol tracker and the includePrivateSymbol callback being passed around directly. It's just an artifact of the order the functions were getting called in. All the required ones still get added.

@weswigham weswigham merged commit 426d8b6 into microsoft:main Mar 29, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants