Super Lint

Walter Bright newshound at digitalmars.com
Wed Sep 20 12:09:28 PDT 2006


I've been interested in various ideas for static checking for common bug 
patterns for D. For example:

	for (int i = 0; i < 10; i++)
	{	foo();
		break;
	}

would be flagged as a suspicious use of break. Are there any legitimate 
uses of break in this manner? Any thoughts and ideas in this direction?



More information about the Digitalmars-d mailing list