-
-
Notifications
You must be signed in to change notification settings - Fork 643
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
fix #21153 - [REG 2.111.0] Infinite loop in isAliasThisTuple #21155
Conversation
Thanks for your pull request, @ibuclaw! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.
|
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.
How exactly does this fix the issue at hand?
This appears to just undo a desirable refactoring?
Code doesn't work before -> code works after. That is exactly the definition of a bug fix. The only desirable code is working code, it does not matter how it looks. |
Partially reverts the regressing change in 0890136. The "fixed" refactoring should be applied to master/development branch.
698ff13
to
d26ebe2
Compare
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.
Is #21154 insufficient? That is the one with the test case.
I am not inclined to merge this without one, is for no reason that it is liable to re-refactored.
Who knows? This code worked just fine for many releases before it was refactored. The other PR likely should have targeted master, as it's a feature change where there might still be unknown things broken with the function. Test is present as this is rebased. |
What does that mean? There is no test in the diff of this PR. This should not have been merged. |
This reverts a change in the upstream D implementation of the compiler, as the refactoring introduced a regression. gcc/d/ChangeLog: * dmd/MERGE: Merge upstream dmd 51816cd01d. Reviewed-on: dlang/dmd#21155
Fixes the issue by way of reverting the "refactoring" in #16868.
Partially reverts the regressing change in 0890136. The "fixed"
refactoring should be applied to master/development branch.
Because fixing the refactoring might just introduce more bugs.