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?