[Issue 12120] Static opCall for structures skipped (Github HEAD)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Feb 9 18:25:17 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12120
--- Comment #5 from Puneet Goel <puneet at coverify.org> 2014-02-09 18:25:16 PST ---
> static Foo opCall()
> {
> Foo foo;
> foo.bar = ...;
> return foo;
> }
Thanks Vladimir.
Kenji the idea that this syntax "Foo foo = Foo();" would not be supported if
another constructor is available is a bit too constraining.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list