On Wednesday, 10 September 2014 at 15:41:49 UTC, Timon Gehr wrote:

Why? I cannot remember a compiler version where the following did not work:

import std.stdio;
void fun(A...)(A args, int l = __LINE__){ writeln(args," ",l); }
void main(){ fun(1,2,3); }

I.e. there is absolutely no issue here.

For every instantiation of of fun there will be a new symbol even when A are the same, because of __LINE__. For Dicebot that is a nogo

Reply via email to