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

refactor: inline collectReferences utility into scopeHasLocalReference #1276

Merged
merged 3 commits into from
Nov 4, 2022

Conversation

G-Rath
Copy link
Collaborator

@G-Rath G-Rath commented Nov 4, 2022

Follow on to #1274 & #1275 - in theory this is faster but it has no noticeable impact on performance so I'm marking this as a refactor rather than perf.

The actual reason I'm doing it in the first place is because it makes the codebase a little smaller and we don't really need the two functions anymore.

@G-Rath
Copy link
Collaborator Author

G-Rath commented Nov 4, 2022

huh so apparently we didn't need the unresolved check at all - that's nice

Copy link
Member

@SimenB SimenB left a comment

Choose a reason for hiding this comment

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

Big fan of 20 less lines of code

@G-Rath G-Rath merged commit 6f85b64 into main Nov 4, 2022
@G-Rath G-Rath deleted the refactor-check branch November 4, 2022 21:55
@github-actions
Copy link

🎉 This PR is included in version 27.1.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants