On 01/07/2010 02:04 PM, 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?
I bumped into this myself the other day, I find it being quite a feature. If nothing else, it's kinda cool!

Reply via email to