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

compiler: fix specialization mistake introduced by #40985 #56404

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Oct 31, 2024

Hopefully there aren't any others like this hiding around? Not useful to make a new closure for every method that we inline, since we just called === inside it

@aviatesk
Copy link
Member

IIUC the previous implementation has caused unnecessary and useless specializations with the closure type, right? If so, my understanding is that this is a phenomenon caused by our approach to closure construction itself, rather than being specifically triggered by #40985.

@vtjnash vtjnash merged commit da74ef1 into master Oct 31, 2024
4 of 7 checks passed
@vtjnash vtjnash deleted the jn/compiler-spec-accident branch October 31, 2024 18:15
@vtjnash
Copy link
Member Author

vtjnash commented Oct 31, 2024

Previously to #40985 this was just DataType there, so it was fine

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

Successfully merging this pull request may close these issues.

2 participants