http://d.puremagic.com/issues/show_bug.cgi?id=5558


Steven Schveighoffer <schvei...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schvei...@yahoo.com


--- Comment #2 from Steven Schveighoffer <schvei...@yahoo.com> 2011-02-10 
11:10:45 PST ---
Actually, I feel that it should work on both sides.  The spec states that the
compiler rewrites for example "a + b" as:

try a.opBinary!("+")(b), see if it compiles, if not, try
b.opBinaryRight!("+")(a).

Since the dot operator automatically dereferences, I think it should also in
this case after the rewrite.

Note, opIn_r is not supposed to be used anymore, opBinaryRight!("in") is used,
but it still should be a rewrite.  However, the opBinaryRight!("in") doesn't
work at all...

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

Reply via email to