[Issue 5532] Overloading an operator breaks when using typeof(this)

2011-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5532


bearophile_h...@eml.cc changed:

   What|Removed |Added

 CC||bearophile_h...@eml.cc


--- Comment #2 from bearophile_h...@eml.cc 2011-02-06 11:34:51 PST ---
Reduced test case:


struct Foo {
void opBinary(string op)(typeof(this) other) {}
}
void main() {
Foo() + Foo();
}

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


[Issue 5532] Overloading an operator breaks when using typeof(this)

2011-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5532


bearophile_h...@eml.cc changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


--- Comment #4 from bearophile_h...@eml.cc 2011-02-06 11:58:11 PST ---
*** This issue has been marked as a duplicate of issue 4413 ***

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


[Issue 5532] Overloading an operator breaks when using typeof(this)

2011-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5532



--- Comment #3 from bearophile_h...@eml.cc 2011-02-06 11:57:04 PST ---
It seems a dupe of my bug 4413

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