Thread overview
[Issue 13780] Empty ParameterIdentifierTuple for function literal
Aug 29, 2015
Daniel
Sep 01, 2015
Luís Marques
Sep 02, 2015
Vladimir Panteleev
Dec 17, 2022
Iain Buclaw
November 26, 2014
https://issues.dlang.org/show_bug.cgi?id=13780

sinkuupump@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sinkuupump@gmail.com

--
August 29, 2015
https://issues.dlang.org/show_bug.cgi?id=13780

Daniel <wyrlon@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wyrlon@gmx.net
           Hardware|x86_64                      |All
                 OS|Windows                     |All

--- Comment #1 from Daniel <wyrlon@gmx.net> ---
I was just hit by this bug as well.

It's possible to workaround with string parsing, but not pretty.

static if(is(FunctionTypeOf!T P == __parameters))
{
  enum decl = P.stringof[1..$-1]; // hack, strip parenthesis
  // parse decl
}

For a proper fix, __traits(identifier, ...) needs to work for function
literals.

--
September 01, 2015
https://issues.dlang.org/show_bug.cgi?id=13780

Luís Marques <luis@luismarques.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |luis@luismarques.eu

--- Comment #2 from Luís Marques <luis@luismarques.eu> ---
Pull request: https://github.com/D-Programming-Language/phobos/pull/3620

--
September 02, 2015
https://issues.dlang.org/show_bug.cgi?id=13780

Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |thecybershadow@gmail.com

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=13780

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--