[Issue 15692] Allow struct member initializer everywhere

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Apr 26 11:47:35 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=15692

--- Comment #3 from Jacob Carlborg <doob at me.com> ---
(In reply to Lionello Lunesu from comment #2)
> My 2c: this is more D-like,
> 
> auto foo = cast(Foo){ a: 3, b: 4 };

I disagree, this looks weird.

--


More information about the Digitalmars-d-bugs mailing list