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


Kenji Hara <k.hara...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid


--- Comment #4 from Kenji Hara <k.hara...@gmail.com> 2012-05-17 21:47:32 PDT ---
(In reply to comment #2)
> struct C { void opCall() { } }
> struct A { C c; alias c this; }
> void main() { A f; f(); }

Hmm, thank you. I'll try to fix the issues this weekend.

(In reply to comment #3)
> And regarding opDispatch:
> 
> struct C { void opDispatch(string op, T...)(T) { } }
> void main() { C f; f(); }

I'm not sure this is valid. With current implementation, opDispatch cannot
forward operator overloading like f.opDispatch!"opUnary". I think this is an
enhancement issue about opDispatch feature. Creating new issue is better IMO.

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

Reply via email to