http://d.puremagic.com/issues/show_bug.cgi?id=9857
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #16 from [email protected] 2013-07-03 09:42:17 PDT --- (In reply to comment #15) > The discussion is misguided. opCall is compatible with UFCS already. Right, I didn't realize this works: struct Foo { int opCall(bool b) { return 0; } } Foo foo; void main() { auto b1 = foo(true); // OK auto b2 = true.foo; // Error } > I suggest to close this down OK, closed. > and to open a more detailed enhancement request for using > local symbols with UFCS instead if that is desired. That's a quite different need. It needs more thinking. Thank you for the note. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
