[Issue 16574] [REG 2.072.0-b1] Unexplained errors about functions that overridde anything

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Oct 24 16:20:41 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16574

--- Comment #13 from Martin Nowak <code at dawg.eu> ---
(In reply to b2.temp from comment #11)
> $ if [ -d kheops ]; then
> $     cd kheops
> $     git pull
> $     cd ..
> $ else
> $     git clone https://github.com/BBasile/kheops.git
> $ fi
> $ cd kheops/runnable
> $ dub default_alignment.d 

Mmh, apparently you don't see the problem w/ your test case, so I'm saying this
explicit.
The moment you add a new commit, or any of the your project's dependencies gets
updated, the bug might no longer be reproducible.
I've already spend a lot of time trying to reproduce this bug w/ your ever
moving example. So please make sure that bug reports use "permalinks" including
the commit hash and dub.selections.json.

> I think that you did not see it because the unittest config does nothing
> (it's a static library).

I ran dub build, if I recall correctly.

(In reply to b2.temp from comment #12)
> By the way Mr Nowak, I like to see how you're involved. But for this
> particular regression, maybe Kenji Hara could get in...

Unlikely, he is hardly nowadays.

> If at a certain point he's not able to fix the new compiler feature:
> 
> https://dlang.org/changelog/2.072.0.html#deferred_alias
> 
> Then let's revert this feature until he has the time to work on it.

Well, your code involves a recursive template, and it's not clear whether it's
actually possible to be compiled.
Lazy alias analysis is a huge improvement for compile times, so we won't drop
it light-hearted.

--


More information about the Digitalmars-d-bugs mailing list