-
-
Notifications
You must be signed in to change notification settings - Fork 609
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 Issue 10966 - Optimizer generates wrong code with try-catch #11541
Conversation
|
Thanks for your pull request, @WalterBright! Bugzilla references
|
|
Stable. |
|
It's a 7 year old bug. |
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.
There is a need for official rules on when it is required to target stable or master. In the meantime let's take this as-is
|
There are official rules ... but they get ignored again and again like this. |
I mean the bug even write it. EVERY. TIME. |
|
"should" VS "must" or "have to" |
|
"it's mandatory for a .... to target the stable branch". |
There are official rules - https://wiki.dlang.org/DIP75#Branching_strategy TL;DR Safe fixes should always go into stable, all the time.That's why there are so many We stopped merging Walter's PRs in the past until they are targeting stable and that actually worked for a while. |
|
as we are collaborating on a compiler people have to take care of the semantics. "should" denotes something optional. It does not constitute a rule that a community has to follow. "should" is a gentle and polite invitation but leaves the door opened. |
|
let's discuss and put it in the contribution guidlines. |
|
Changes always come with a risk, meaning "stable" can become destabilized. With ancient bugs, there isn't a critical need to put the fix into stable, making me reluctant to risk the instability. Especially things like changing the optimizer, which always has risk to it. |
2 line fix.