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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Oct 19 11:01:27 PDT 2016


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

--- Comment #10 from Martin Nowak <code at dawg.eu> ---
Just tested
https://github.com/BBasile/kheops/commit/a00f300c4281b2d4aaf95e7fabde48d3dc3816e9.
This commit did build with 2.070.2, 2.071.2, and still builds with 2.072.0-b2.
Also dub test does pass with 2.071.2 and 2.072.0-b2, so this doesn't show any
regression.

If OTOH the recursive alias is declared outside of the class, all versions fail
to compile.

I went back and tested
https://github.com/BBasile/kheops/commit/2f99686d346c291e1cfbe6e1412373d5cc1a385c
which now also passes tests. Have you fixed some upstream library (e.g. iz)?

I think all the override errors were just follow-up errors from a semantic
analysis failure for the class or it's base class (e.g. due to the recursive
alias).

For your next bug report, please properly document all code involved or even
provide a zip file here. Of course, at best you succeed to reduce the test
case.

--


More information about the Digitalmars-d-bugs mailing list