[Issue 15985] [REG2.068/2.069] Code doesn't link unless compiled with -debug
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Oct 8 09:56:57 UTC 2017
https://issues.dlang.org/show_bug.cgi?id=15985
ag0aep6g at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ag0aep6g at gmail.com
--- Comment #4 from ag0aep6g at gmail.com ---
Reduced further:
----
void f()() { h!()(); }
void g()() { f!()(); }
void h()() { g!()(); }
enum x = is(typeof(g!()()));
alias my_h = h!();
void main() {}
----
And here's a variant that fails both with and without -debug:
----
void f()()
{
g!()();
h!()();
}
void g()() { f!()(); }
void h()() { f!()(); }
enum x = is(typeof(f!()()));
alias my_g = g!();
void main() {}
----
--
More information about the Digitalmars-d-bugs
mailing list