ah, i looked closer at your sample and found that it's an expected behavior. ;-) what going on here is CTFE. as `ResetHandler` never exits, CTFE interpreter never exits too. it's possible to write a simple enless loop detector in interpreter, but it's impossible to detect all kind of endless loops. so i don't know how to solve this: setting some arbitrary limit on loop iteration will simply hide the problem, but won't solve it.