[Issue 12537] Templatizing opEquals results in infinite recursion in the compiler
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Jan 6 16:21:26 PST 2015
https://issues.dlang.org/show_bug.cgi?id=12537
ag0aep6g at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice
--- Comment #3 from ag0aep6g at gmail.com ---
Reduced test case:
class A { B c; alias c this; }
class B { A c; alias c this; }
void main()
{
const A lhs;
auto x = cast() lhs;
}
--
More information about the Digitalmars-d-bugs
mailing list