[Issue 17909] Inherited aliases produce unlinkable objects in final classes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 17 12:58:35 UTC 2017


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

Simen Kjaeraas <simen.kjaras at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simen.kjaras at gmail.com

--- Comment #1 from Simen Kjaeraas <simen.kjaras at gmail.com> ---
Same results on Win32 and Win64.

Child.boop.mangleof gives the same result as Parent.boop.mangleof, regardless
of final keyword, and matches the missing symbol.

Interestingly, taking the address of (new Child()).boop and calling that works
fine:
    writeln((&(new Child()).boop)());

No, this is not expected behavior.

--


More information about the Digitalmars-d-bugs mailing list