http://d.puremagic.com/issues/show_bug.cgi?id=2396 ------- Comment #3 from bugzilla at digitalmars.com 2008-10-07 03:23 ------- Pulling out part of the loop body as a separate function or nested function should work as a workaround. --