-
Notifications
You must be signed in to change notification settings - Fork 48
Conversation
4a3528a
to
c8ff589
Compare
|
List of things backported from later versions of druntime: |
|
There are some CTFE vs runtime assertions being triggered in |
|
Actually wait, these are regressions from 2.067 -> 2.068. And all that has changed is the frontend... hmm. |
|
Or maybe not... |
|
It's almost as if the unittests are never ran in 2.067, or simply luck makes them pass. For |
|
It also fails because you can't rely on padding between fields always being zero. |
|
Ah, I see now why it has been silently passing the unittester, it's because Wonderful! I wonder how many other bugs are hiding, or it's just these two modules... |
Maybe we should use |
c77ec27
to
ed3b724
Compare
|
Time to rebase against master. Argh! |
d4de553
to
17491e7
Compare
|
@jpf91 should I be worried? Old build system: https://semaphoreci.com/d-programming-gdc/gdc/branches/pull-request-162/builds/11 New build system: https://semaphoreci.com/d-programming-gdc/gdc/branches/pull-request-162/builds/12 Then I can't rule out that another change fixed it. But if it did, was not directly intentional. |
|
base64 also fails in master, but I explicitly disabled the test to match the old build system. The old build system didn't test base64 in 2.067 (the linker stripped the module). I'm not sure about std.conv. One reason I switched to the new test_runner.d from upstream was that some modules failed depending on compilation order / order in which the modules were tested. I think std.conv was one of these, though I'm not sure. Upstream and the new build system now only test one module per process, so every module is tested in a clean environment. You could add a printf to the unittest to check if it's really executed though. |
eb93051
to
2bd9849
Compare
|
Great, now one of the tests no longer compiles because it pulls in a symbol only held by |
|
OK, removed the test for now. Let's get in the breaking stuff now. |
WORK IN PROGRESS
Things carried over from 2.066+2.067 updates, see #99
There is still a lot of catching up to do with regards to moving most things over to either free functions, double-dispatch visitors, or removing a whole range of stubs entirely!
Planned changes:
TREE_THIS_VOLATILEfrom codegen.-fintfc)Some end goals (and this is the last release that I aim to get them done by):
namespace gcc { namespace d { } }for common codegen routines, or...Visitorclasses, and possibly in the process...dt_t*withtreeand remove thedt_t**functionstoDtwith the generaltoElemcodegen routines.Symbol, andblock, but that will have to wait until 2.07x maybe.Immediate things that need to be done: