[Issue 7429] Cannot append a struct type to itself even if an opOpAssign(string op : "~") is defined.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Feb 10 21:56:36 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7429
yebblies <yebblies at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |yebblies at gmail.com
Resolution| |WORKSFORME
--- Comment #2 from yebblies <yebblies at 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: -------
More information about the Digitalmars-d-bugs
mailing list