tomas@838: void test(void delegate() spam) tomas@838: { tomas@838: static void foo() // static is the problem tomas@838: { tomas@838: uint x; tomas@838: void peek() { x = 0; } tomas@838: } tomas@838: tomas@838: void bar() tomas@838: { tomas@838: spam(); tomas@838: } tomas@838: }