Feature or bug: print braces
Ivan Kazmenko via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri May 15 01:44:39 PDT 2015
On Thursday, 14 May 2015 at 00:29:06 UTC, Dennis Ritchie wrote:
> Why doesn't the compiler produces an error?
>
> -----
> import std.stdio;
>
> void main() {
> writeln({});
> }
> -----
> http://ideone.com/qTZCAd
Somehow reminds me of this lambda:
https://github.com/Hackerpilot/Idiotmatic-D/blob/master/idiotmatic.d#L127-L128
More information about the Digitalmars-d-learn
mailing list