Is this a bug or a feature?

Lars T. Kyllingstad public at kyllingen.NOSPAMnet
Thu Jan 7 05:13:57 PST 2010


Daniel Murphy wrote:
> The following code compiles under dmd v2.037, no closing brace required.
> 
> ---------------
> import std.stdio;
> 
> void main()
> {
> 	while(true)
> 		writeln("Bug!");
> ---------------
> 
> Bug, or feature for the extremely lazy?


It could be the same as bug 3542:
http://d.puremagic.com/issues/show_bug.cgi?id=3542

-Lars



More information about the Digitalmars-d mailing list