Hi, I posted this in another thread but without any response.
This code: void main(){ goto Q; int x; Q: writeln("a"); }Gives me this error: "source_file.d(4): Error: goto skips declaration of variable source.main.x at source_file.d(5)"
Now, if I add a pair of brackets: void main(){ { goto Q; int x; } Q: writeln("a"); } It works. So Is this a bug? MatheusBN.