Conversation
|
Thanks for your pull request, @WalterBright! 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. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + dmd#14943" |
26b0dc9 to
493be13
Compare
| if (!s.isIfCtfeBlock()) // __ctfe is always false at runtime | ||
| Statement_toIR(s.ifbody, irs, &mystate); |
There was a problem hiding this comment.
Isn't the inverse needed for the else block when if (!__ctfe) ?
There was a problem hiding this comment.
Yes, if we really wanted to support that. I'm on the fence about it. There are other __ctfe constructs, too. I figure we make this solid first.
ibuclaw
left a comment
There was a problem hiding this comment.
This should target stable, as it's a continuation of the fix for regression 23710 in all but name.
493be13 to
4980953
Compare
Looks like a problem with master, not this PR. @RazvanN7 ? |
Seems like dmd's yl2xp1 intrinsic doesn't work on macOS 13.x (emulating x86 on M1) with small inputs. |
|
Shouldn't be required to have both, just merge stable then create a PR to |
|
Every time I've tried something like that I get a PR with ten thousand lines of difference. Just merge both PRs and things will be fine! |
|
Automated merging of stable fixes into master is something that needs looking into as it's quite silly to have bug fixes diverged from mainline for any lengthy period of time. |
|
If git had a |
|
Can't do anything about Apple having buggy emulators except turn off fyl2x instructions on macOS. |
|
Thanks for identifying the problem and supplying a workaround. |
|
Superseded by #14947. |
Every change you make with git goes into the reflog, you don't lose it. https://git-scm.com/docs/git-reflog Which lists both commit hashes which can also be referenced with Undo then becomes: Or |
|
Other PR merged. |
|
Thanks for reflog tip |
Shouldn't need it anymore.