[Issue 7075] overloading opAssign for classes is poorly specified

2014-04-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7075

--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dlang.org

https://github.com/D-Programming-Language/dlang.org/commit/fee0b277069a2c0bcf5fc0b3f3370197e13a6163
Fix Issue 7075 - Use better wording for identity assignment overload.

https://github.com/D-Programming-Language/dlang.org/commit/beece10c7eedd0e0f7416b104cc6ab8889e60792
Merge pull request #562 from AndrejMitrovic/Fix7075

[Trivial] Issue 7075 - Use better wording for identity assignment overload.

--


[Issue 7075] overloading opAssign for classes is poorly specified

2014-04-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7075

Andrej Mitrovic  changed:

   What|Removed |Added

   Keywords||pull
 CC||andrej.mitrov...@gmail.com
   Hardware|Other   |All
   Assignee|nob...@puremagic.com|andrej.mitrov...@gmail.com
 OS|Other   |All

--- Comment #4 from Andrej Mitrovic  ---
The class overload page seems to be improved now, but the table on the structs
pages lists "assign overload" rather than the better-describing "identity
assign overload".

https://github.com/D-Programming-Language/dlang.org/pull/562

--


[Issue 7075] overloading opAssign for classes is poorly specified

2012-04-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7075


Walter Bright  changed:

   What|Removed |Added

   Keywords||spec
 CC||bugzi...@digitalmars.com
   Severity|critical|normal


--- Comment #3 from Walter Bright  2012-04-28 
02:13:22 PDT ---
Doc bugs aren't critical.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7075] overloading opAssign for classes is poorly specified

2011-12-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7075


Steven Schveighoffer  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  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: ---