Fix Issue 19549 - -check=in=off doesn't work#9195
Conversation
|
Thanks for your pull request, @wilzbach! Bugzilla references
Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub fetch digger
dub run digger -- build "stable + dmd#9195" |
|
Yeah the original code look very broken because
needs to be something like |
WalterBright
left a comment
There was a problem hiding this comment.
Once it passes the test suite.
7719fa4 to
11cc425
Compare
Okay, I found the missing bit, but PLEASE PLEASE PLEASE let's NOT merge new features without tests again.
Yup any kind of test would have spotted that (or you know also no implicit bool conversion from an enum in a condition).
|
Duly noted. |
Copy over the existing tests he said.
And again he said please copy over the existing tests.
And he said again there are still no tests.
CC @andralex @thewilsonator PLEASE PLEASE STOP MERGING STUFF WITHOUT TESTS.
With the fixes, the first test file yields a segfault of DMD, because this assertion no longer holds:
dmd/src/dmd/s2ir.d
Line 426 in a9eb1b7
but I'm not in the mood to look into this.