Comment #2 by lucia.mcojocaru — 2016-12-20T12:32:03Z
PR with fix here: https://github.com/dlang/phobos/pull/4977
This works for me now:
import std.traits;
int main()
{
void f(lazy int x = 0) {}
pragma(msg, ParameterDefaultValueTuple!f);
return 0;
}
Comment #3 by github-bugzilla — 2016-12-21T13:10:01Z
and now one can't have argument with name `value` anymore, 'cause it conflicts with `value` variable in fix. dunno if it worth opening new bug, tho, 'cause fix is not in any release yet, so it can be... fixed right here. ;-)
Comment #5 by destructionator — 2017-01-06T15:11:47Z