http://d.puremagic.com/issues/show_bug.cgi?id=8122
Summary: opDispatch doesn't forward opCall Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: k.hara...@gmail.com --- Comment #0 from Kenji Hara <k.hara...@gmail.com> 2012-05-19 20:07:59 PDT --- This issue is separated from issue 8133. (From http://d.puremagic.com/issues/show_bug.cgi?id=8113#c3) struct C { void opDispatch(string op, T...)(T) { } } void main() { C f; f(); } (From http://d.puremagic.com/issues/show_bug.cgi?id=8113#c6) struct S { void opDispatch(string op, A...)(A args){} } void main() { S s; +s; // not converted to opDispatch!("opUnary", ...) s + s; // not converted to opDispatch!("opBinary", ...) s(); // not converted to opDispatch!("opCall", ...) } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------