On Friday, 5 June 2015 at 03:15:46 UTC, anonymous wrote:
On Friday, 5 June 2015 at 02:38:39 UTC, ketmar wrote:
here's dustmited source:

Further reduced:

void unaryFun()(auto int a) pure nothrow @safe @nogc {}
alias Identity(F) = F;
void main()
{
  unaryFun!()(41);
  static void fun(int n) pure nothrow @safe @nogc {}
  alias F = typeof(fun);
  pragma(msg, F); /* ...(int n) */
  pragma(msg, Identity!F); /* ...(auto int) */
}

Filed two issues:
https://issues.dlang.org/show_bug.cgi?id=14656
https://issues.dlang.org/show_bug.cgi?id=14657

Reply via email to