[Issue 21752] Template constraint breaks nested eponymeous template

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 24 22:07:35 UTC 2021


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

--- Comment #2 from moonlightsentinel at disroot.org ---
Also happens for deeply nested templates without overload resolution:

template bar()
{
        template bar()
        {
                void bar()()
                if (true)  // Comment this constraint to make it pass
                {}
        }
}

--


More information about the Digitalmars-d-bugs mailing list