[Issue 15498] Unhelpful error message "destructors, postblits and invariants are not allowed in overlapping fields"

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Mar 28 07:35:42 PDT 2016


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

--- Comment #5 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Steven Schveighoffer from comment #4)
> But what about if there are no unions? Manu says no unions are being used.
> 
> In his code, there is no unions where the error is being printed (info
> conflicts with baseClass).

If there's no unions (overlapped fields), the error print would be a compiler
bug.

Honestly I cannot say anything until I see what the "some stuff" actually is.

--


More information about the Digitalmars-d-bugs mailing list