Thread overview | |||||
---|---|---|---|---|---|
|
February 03, 2012 [Issue 7429] New: Cannot append a struct type to itself even if an opOpAssign(string op : "~") is defined. | ||||
---|---|---|---|---|
| ||||
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: ------- |
February 04, 2012 [Issue 7429] Cannot append a struct type to itself even if an opOpAssign(string op : "~") is defined. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gor Gyolchanyan | 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: ------- |
February 11, 2012 [Issue 7429] Cannot append a struct type to itself even if an opOpAssign(string op : "~") is defined. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gor Gyolchanyan | 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: ------- |
Copyright © 1999-2021 by the D Language Foundation