view tests/mini/compile_rawvardeclinfinally.d @ 1159:c6d6a68bb5db

Add back some enclosing scope-exit information to the frontend to produce proper error messages inside switch statements.
author Christian Kamm <kamm incasoftware de>
date Sat, 28 Mar 2009 14:39:16 +0100
parents 5696a7167b21
children 8baf611f0009
line wrap: on
line source

void foo() { void delegate()[] bar; try {} finally { foreach (dg; bar) dg(); } }