-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Partial revert "Compiler: refactor and slightly optimize merging two types (#12436)" #12709
Partial revert "Compiler: refactor and slightly optimize merging two types (#12436)" #12709
Conversation
…rystal-lang#12436)" This reverts commit bfc33db.
This commit in the original PR introduced the regression |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Ideally we'd have a small test that shows what breaks with this change, but I understand it can be hard to do that sometimes.
Honestly, struggling to come up with a minimal reproduction. This is the method called in the block, I'll take a look at the different return values of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @caspiano ! That was fast!
This PR reverts commit bfc33db.
I haven't been able to extract a minimal reproduction of the error discussed on the forum, but I'll work on one.
I'll also review the individual commits made in #12436 with the failing code to see if we can keep any of the optimisations.