[Issue 18557] Types with 0 size should not be usable as aa key types
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Mar 6 23:12:49 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18557
Ketmar Dark <ketmar at ketmar.no-ip.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ketmar at ketmar.no-ip.org
--- Comment #3 from Ketmar Dark <ketmar at ketmar.no-ip.org> ---
this patch breaks Variant: it is legal to use `This[This]` as a placeholder
type in Variant, and with the patch applied that code doesn't compiles anymore
('cause `This` is defined as `struct This;`).
adding real definition to `This` doesn't help too, 'cause then dmd errored with
"recursive template expansion".
--
More information about the Digitalmars-d-bugs
mailing list