https://issues.dlang.org/show_bug.cgi?id=14210
Ketmar Dark <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Ketmar Dark <[email protected]> --- p.s. to make it even clearer: === void main () { test("000", (int a) => a+0); test("001", (int b=40) => b+2); } === output: :: 000 int function(int a) pure nothrow @nogc @safe :: 001 int function(int a) pure nothrow @nogc @safe === void main () { test("001", (int b=40) => b+2); test("000", (int a) => a+0); } === output: :: 001 int function(int b = 40) pure nothrow @nogc @safe :: 000 int function(int b = 40) pure nothrow @nogc @safe now THIS is very, very bad, as it not only messes with default arg value, but renaming the arg itself. --
