digitalmars.D.bugs - [Issue 7429] New: Cannot append a struct type to itself even if an opOpAssign(string op : "~") is defined.
- d-bugmail puremagic.com (20/20) Feb 03 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7429
- d-bugmail puremagic.com (10/10) Feb 03 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7429
- d-bugmail puremagic.com (21/21) Feb 10 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7429
http://d.puremagic.com/issues/show_bug.cgi?id=7429 Summary: Cannot append a struct type to itself even if an opOpAssign(string op : "~") is defined. Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: blocker Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: gor boloneum.com --- Comment #0 from Gor Gyolchanyan <gor boloneum.com> 2012-02-03 08:47:53 PST --- The error "Error: cannot append type Set to type Set" for a struct type Set, which has the operator overloaded: ref Set opOpAssign(string op : "~")(in Set set_); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 03 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7429 Brad Roberts <braddr puremagic.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |braddr puremagic.com --- Comment #1 from Brad Roberts <braddr puremagic.com> 2012-02-03 23:24:40 PST --- When reporting bugs, please include a complete, preferably minimal, example. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 03 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7429 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yebblies gmail.com Resolution| |WORKSFORME --- Comment #2 from yebblies <yebblies gmail.com> 2012-02-11 16:56:34 EST --- Cannot reproduce with dmd 2.058 beta. struct Set { ref Set opOpAssign(string op : "~")(in Set set_) { return this; } } void main() { Set s; s ~= s; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 10 2012