[Issue 24869] Qualifier dropped from return type when AliasSeq is indexed with template argument

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 21 18:16:09 UTC 2024


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

--- Comment #3 from Nick Treleaven <nick at geany.org> ---
OK, making the prototype a template again shows the wrong return type:

    ref const(AliasSeq!(int)[i]) get(size_t i)() const;
    pragma(msg, typeof(get!0)); // const ref int()

--


More information about the Digitalmars-d-bugs mailing list