[Issue 4953] opBinary, opBinaryRight don't do implicit conversion properly

2010-09-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4953 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Com

[Issue 4953] opBinary, opBinaryRight don't do implicit conversion properly

2010-09-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4953 --- Comment #3 from Don 2010-09-30 09:47:34 PDT --- Wow. This is a lot more general than I thought. Consider this code: void foo(T = void)(short x) {} void main() { foo(5); } This compiled in 2.030, failed in 2.031 and later. However, if

[Issue 4953] opBinary, opBinaryRight don't do implicit conversion properly

2010-09-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4953 Don changed: What|Removed |Added Keywords||rejects-valid CC|