Revert "reimplement std.traits.ParameterStorageClassTuple()"#5469
Revert "reimplement std.traits.ParameterStorageClassTuple()"#5469WalterBright merged 1 commit intomasterfrom
Conversation
|
Hmm, Jenkins can't test reverts? @MartinNowak |
|
Huh? I thought reverts were just regular commits? @andralex: Perhaps just redo/amend the commit and force-push it to try again? |
|
They're on a branch on the dlang org's repo, instead of a fork. |
|
@CyberShadow @klickverbot I don't follow. According to Jenkins, this PR fixes the regression, although vibe.d still fails*. Here's the result of testing a different PR which clearly shows that regression is present there, but no with this PR. *The compilation failure is in libasync 0.8.3 (a dependency of vibe.d). The compiler accuses this function of throwing, but both of the function's it calls are nothrow and also ~this() of throwing, the later probably caused by the following call chain: EventLoop.~this() (implicit) -> EventLoopImpl.~this() (implicit) -> HashMap.~this() -> freeArray -> Allocator.free. The last one doesn't seem to be marked as nothrow and I don't know how it did work at the time the code was written. |
|
Oh, I was clicking on the continuous-integration/jenkins/branch CI status, not /pr-merge, which looks very different. |
@ZombineDev Since you've looked at this already, any chance you can separate it into a self-contained test case? Would be easy to bisect it then. |
|
I am on the phone now, but I can try to find some time tomorrow. |
wilzbach
left a comment
There was a problem hiding this comment.
Reverts #5427. Let's see if this takes care of the errors in vibe.
@andralex thanks a lot!
As @ZombineDev has explained and we can see, reverting this does fix the regression, we just seem to have uncovered another one.
So I would be in favor of pushing the revert and looking at the Jenkins output on the resubmission.
No problem, I see it's easy to reproduce so I'll bisect it myself. |
|
libasync regression introduced by dlang/dmd#6816 |
|
@wilzbach do you think you can help @WalterBright repro the vibed test environment so he can repro the problem locally? |
|
Running a reduction now. |
Here's a reduced example that fails only with #5427: void async(ARGS...)(ARGS)
{
import std.functional;
static void compute(ARGS)
{
}
toDelegate(&compute);
}
alias test = async!(int, int); |
|
I added it to #5474 |
|
@CyberShadow what is the error message you see? |
|
|
Ok, I'm getting the same one. Thanks! |
|
Oh and I guess if a Phobos template can trigger an assertion error in the compiler, then that makes for a separate bug. |
is a well known dmd bug fixed by dlang/dmd#6875 |
Uhm .. I do have another test, which proofs that it's not fixed by dlang/dmd#6875 ;-) See; dlang/dmd#6894 |
Reverts #5427. Let's see if this takes care of the errors in vibe.