[Issue 24516] qualifiers lost when tupleof is aliased

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 2 17:16:34 UTC 2024


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

--- Comment #4 from Nick Treleaven <nick at geany.org> ---
> The reason must be that `S` in `S.tupleof` is not a TypeExp it's a DeclExp.

No, the quoted code is for static array tupleof. I tried adding it for classes
and structs but dotExp seems to have a phantom expression e which is a VarExp.

--


More information about the Digitalmars-d-bugs mailing list