[Issue 14710] VC-built DMD crashes on templated variadic function IFTI

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jun 18 04:59:23 PDT 2015


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

--- Comment #1 from Vladimir Panteleev <thecybershadow at gmail.com> ---
When built in the Debug/x64 configuration, the compiler produces the following
error:

test.d(7,3): Error: template test.a cannot deduce function from argument types
!()(string, string), candidates are:
test.d(1,6):        test.a(T)(T val, T[] arr...)

However, this error does not occur when DMD is built by DMC, and the code
compiles correctly.

--


More information about the Digitalmars-d-bugs mailing list