[Issue 12537] Templatizing opEquals results in infinite recursion in the compiler
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Sep 2 08:11:14 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=12537
--- Comment #4 from Kenji Hara <k.hara.pg at gmail.com> ---
Reduced test case:
class C12537a { C12537b c; alias c this; }
class C12537b { C12537a c; alias c this; }
void equals()(Object lhs) {}
void main()
{
const C12537a c;
equals(c);
}
--
More information about the Digitalmars-d-bugs
mailing list