Merge stable into master#6287
Merge stable into master#6287mihails-strasuns wants to merge 12 commits intodlang:masterfrom mihails-strasuns:merge-stable
Conversation
This reverts commit f7819c8. Fixes issue 16678
Fix Issue 16678 - [REG] Fix for issue 16193 creates major breakage
- must not set the type to Type.terror when determineSize is run speculatively
fix Issue 16574 - forward reference issue with with speculative test
fix Issue 16699 - [REG 2.070] stack corruption with scope(exit)
fixes issue 16102
Fix issue 16102 - [REG2.070] struct dtor replace value on stack
fix Issue 13927 - optimizer hangs in optelem with SIMD initialization
|
|
I don't quite understand the thing about the reversion? Is it just a commit in your merge-stable? |
It was a pre-requisite for the merge. Because
Yep, before actual merge commit.
I thought reasoning will be more obvious if related changes are bound together, can split into two PRs sure. |
|
Have split revert bit into #6290 |
|
Doesn't reverting this leave things in quite a mess? I no longer have idea what the state of the source code is in, between this, master, and the scope feature branch. I had put these things behind Renaming
Please be specific. |
Things are in mess right now, this is part of attempt to get it all back in sync. Goal is to remove
That was both misuse of
There is nothing natural about deprecations breaking anything - such cases must never happen, otherwise
Nope,
I see you have already commented on it in linked PR. |
But is |
Sorry, I stand corrected. Must have missed one of previous merges of stable that did it (it isn't widely communicated when it happens). It doesn't change any of the other points though, |
|
We really ought to have people target bugfix PRs to both master and stable (i.e., for the same bugfix submit 2 PRs, one for stable, one for master). This should be a requirement for merging. Otherwise once the branches diverge it's a lot of churn trying to resync the code and not break anything else. |
|
@quickfur That's a recipe for disaster. If you fix the same thing in both branches, everything will be merge conflicts. |
|
This PR is problematic because it lumps merging fixes in with merging reversions in an all-or-nothing manner. |
The reversion for that is #6251, and I only agreed to it for stable, not for master.
I'm not seeing a rationale for this other than "reason for reverting |
This is problematic. Stable should only get fixes that should be pushed upstream. I don't like the idea that stable cannot be merged at-will into master. This will poison all future merges because you'd have to cherry pick this one thing out. Perhaps we need a version branch to which such temporary reversions could be merged? ping @MartinNowak, we need some guidance on this. For the meantime, we likely have to merge the reversion to master, then revert the reversion! |
|
You guys are starring at the wrong PR. The reversion has already been split off to a separate PR #6290, as requested #6287 (comment), and I can hardly provide even more information than there #6290 (comment) and in the bug report Issue 16949 – [Reg 2.073] confusing @safe error message for fields with unsafe destructors. |
|
@MartinNowak I'm concerned about a possibility of merging a PR into stable that should not be merged into Master (e.g. #6251). How does that affect future merges? How would one know not to remove it from a merge? Or am I not understanding something? |
That's not planned at all! It would be nightmare to keep an overview. |
|
Let's just merge back stable and do the rest of the adjustments on master, no need to conflate so many discussions into a single merge commit. |
-transition=safeflagAfter this PR is merges, following bugzilla issues need to be reopened:
@MartinNowak would be nice to merge this soon-ish to minimize propagation of
-transition=saferelated conflicts.