Is this a bug or a feature?

Sean Kelly sean at invisibleduck.org
Thu Jan 7 08:44:49 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?

That's just in there to put a new spin on the halting problem.



More information about the Digitalmars-d mailing list