http://d.puremagic.com/issues/show_bug.cgi?id=7075
Steven Schveighoffer <schvei...@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|accepts-invalid | CC| |schvei...@yahoo.com Summary|overloading opAssign for |overloading opAssign for |class is allowed |classes is poorly specified --- Comment #2 from Steven Schveighoffer <schvei...@yahoo.com> 2011-12-07 07:46:59 PST --- No, the code isn't invalid, the documentation is just bad. identity assignment overloading is not allowed for classes, that is what the table is alluding to: class A { void opAssign(A a) {} } Error: function testassign.A.opAssign identity assignment operator overload is illegal There are several other places in the spec that could be better written. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------