[Issue 11856] DMD segfault with circular template constraints

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Sep 3 02:18:38 PDT 2016


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

timon.gehr at gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timon.gehr at gmx.ch

--- Comment #1 from timon.gehr at gmx.ch ---
Another case:

int f(T)(T t) if(!__traits(compiles,.f!T)) {
    return 0;
}
int f(T)(T t) if(!__traits(compiles,.f!T)) {
    return 1;
}
enum x=f(2);

--


More information about the Digitalmars-d-bugs mailing list