Fix Issue 16678 - [REG] Fix for issue 16193 creates major breakage#6251
Fix Issue 16678 - [REG] Fix for issue 16193 creates major breakage#6251WalterBright merged 1 commit intodlang:stablefrom mihails-strasuns:revert-regressions
Conversation
This reverts commit f7819c8. Fixes issue 16678
|
This safety fix was enabled only when |
|
Please edit the subject to be: This is the standard form for any bugzilla PRs. |
It is not, I have changed that in #6183 (which you have reviewed and merged ;)). With released DMD only thing it does it to print message like Let me repeat previously discussed points:
Getting back to this regression, my original reasoning of adjusting your fix was that closure allocation does not break builds and those concerned about performance can hunt it with This means that your original bug fix has to be redone against master in a more subtle way (as I feared). |
|
What do you suggest? Making it a deprecation? As for merging problems, that is an inevitable result of making a feature branch. |
This PR reverts it completely so that we can finally ship working release and stop scarying away users. After that we can discuss how/if deprecation can be implemented in a re-implementation PR targeting master branch.
I haven't mentioned any merging problems at all (there are none). |
|
Since this is only being merged into stable, and not master, I agree. |
https://issues.dlang.org/show_bug.cgi?id=16678
Fix for the original issue probably needs to be redone in more convoluted fashion to prevent this kind of breakage.