www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - undocumented restriction in scope statement

reply BCS <BCS pathlink.com> writes:
import std.stdio;

void main()
{
	scope(exit) goto head;	// line 5
	head: writef("top\n");
}


//scope_goto.d(5): cannot goto in or out of finally block
Jun 09 2006
parent Walter Bright <newshound digitalmars.com> writes:
Got it, thanks.
Jun 13 2006