After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 601340 - unreacheable code without error
unreacheable code without error
Status: RESOLVED DUPLICATE of bug 574352
Product: vala
Classification: Core
Component: Semantic Analyzer
0.7.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-09 23:51 UTC by ccadete
Modified: 2010-03-23 07:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description ccadete 2009-11-09 23:51:10 UTC
The program:

static void main(string[] args){
	do while(true){
		stdout.printf("Hello");
	}while(false);

	stdout.printf("Hello");
}

should throw an error as the "while(true)" is infinity and will never reach the print "Hello"
Comment 1 Jürg Billeter 2010-03-23 07:21:06 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 574352 ***