[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:07:12 UTC 2024


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

Nick Treleaven <nick at geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick at geany.org

--- Comment #1 from Nick Treleaven <nick at geany.org> ---
Reduced:

struct S
{
    int n;
    ref int get() const => n;
}

void main()
{
    const S s;
    s.get;
}

--


More information about the Digitalmars-d-bugs mailing list