https://issues.dlang.org/show_bug.cgi?id=22769
Basile-z <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Basile-z <[email protected]> --- what is the background idea ? Is this proposal a way to have opCall called without explicit CallExp ? --- struct S { void opCall() @property { } } S s; @property S fun() { return s; } void main() { s(); // ok s; // using @property of opCall, that cannot work fun; // works using semantics proposed in bugzilla 22769 } --- --
