[Issue 2859] enum convert error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Aug 8 17:00:30 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=2859
Nick Treleaven <nick at geany.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nick at geany.org
--- Comment #4 from Nick Treleaven <nick at geany.org> ---
> Shouldn't this be an error that kkk does not devine member vv?
It still errors if you replace the last line with:
t = abc.vv;
(I think because kkk.vv doesn't exist, the compiler looks in the base type to
see if it defines vv.)
--
More information about the Digitalmars-d-bugs
mailing list