-
-
Notifications
You must be signed in to change notification settings - Fork 746
Prepare std.algorithm.sorting for -dip1000 #6359
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
Conversation
|
Thanks for your pull request, @wilzbach! 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 fetch digger
dub run digger -- build "master + phobos#6359" |
99e628a to
82c8ba1
Compare
|
Argh .. as phobos/std/algorithm/searching.d Line 1520 in 012395e
but calls phobos/std/algorithm/searching.d Line 1967 in 012395e
which can't be |
|
With Your fix #6359 applied and preliminary slist.d fix #6295 applied, https://github.com/dlang/phobos/blob/master/dip1000.mak with It compiles for me, when I add these 2 patches: The second: |
FYI: Yes, I'm aware, I tried to fix that before, but ran intro troubles with |
|
(Also you can use |
82c8ba1 to
31dfc84
Compare
31dfc84 to
e9e6ca4
Compare
|
Okay I rebased this, s.t. it now only contains the first "trivial" fix for |
Here's the reduced issue of std.algorithm.sorting that still remains:
(this can be solved with a
static if, but it seems weird that the compiler can't infer it)CC @carblue