http://d.puremagic.com/issues/show_bug.cgi?id=3353
Summary: storage class of a member function is propagated to default arguments Product: D Version: 2.032 Platform: Other OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: r.sagita...@gmx.de --- Comment #0 from Rainer Schuetze <r.sagita...@gmx.de> 2009-09-30 13:55:03 PDT --- Compiling the module test.d: public struct foo { public this(real aleft) { } } class bar { final void fun(foo arg = foo(0.)) { } } produces: test.d(11): Error: variable test.bar.__ctmp1 final cannot be applied to variable -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------