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
DMD ~master fails to build vibe.d in unittest config #526
Comments
I just tried a minute ago as well. I think vibe.d should try to support |
but the resulting vibe-d.exe just runs in a loop, I'm not sure what it should do |
@etcimon you are wrong here. It isn't a fix, because without --build=unittest, unittests aren't run at all. |
But this DMD release seems to be the one with the most regressions hitting vibe.d up to date... @nazriel: It would be great if you could file a regression report against DMD, this looks definitely like the error is there. I do what I can to test the betas and report errors there, but additionally testing git master is not an option for me right now. |
@s-ludwig sure, will do! Just want to try out LDC with 2.065-b3 merged [1] and see what happens. After that I will try to create reports for both dmd and ldc. Btw, I really need to update dub 👻 [1] http://forum.dlang.org/thread/dfwjrcodyviclocztfaf@forum.dlang.org |
@s-ludwig LDC with 2.065-b3 meged builds it fine. I am going to fill bug report now. |
Using version (unittest) instead of unittest fixes most of these. Except the static assert in funcattr.d ln 324 : static assert (!__traits(compiles, AttributedParameterMetadata!bar)); |
And that's b/c the |
Probably pull request responsible for regression: |
Moving functions out of the unittest make the UDA check pass. Maybe they forgot to include unittests in their scope. |
Fixed dlang/dmd#3266 Compilation of unittests work fine with dmd master now |
Great, thanks for reporting! Now there is only one (known) regression left, that affects one of my vibe.d based projects (and a number of improvements w.r.t 2.064). Very relaxing to know that. |
dub --build=unittest --config=unittest
results in:
Line at which DMD fails:
Seems like some kind of regression related to UDAs?
I will try ~2.065 version in a minute.
Edit:
2.065 branch on github results in the same error.
The text was updated successfully, but these errors were encountered: