[Issue 23760] Error: unknown

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 7 11:06:42 UTC 2023


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

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
A reduced version:

class JavaBridge(Class)
{
    static if(is(typeof(__traits(getMember, Class, "state")))) {}
    alias T = __traits(getOverloads, Class, "state");
}

class JavaClass(CRTP)
{
    JavaBridge!(CRTP) _javaDBridge;
}

class A : JavaClass!A
{
    State* state;
}

--


More information about the Digitalmars-d-bugs mailing list