From 87d885f840a993a2de44cf443b7579cf8f56c243 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Sat, 4 Oct 2008 12:32:09 +0200 Subject: [PATCH] Don't let outer enclosing handlers propagate to nested function declarations. --- dmd/func.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dmd/func.c b/dmd/func.c index 4a1ac1de..42dc3978 100644 --- a/dmd/func.c +++ b/dmd/func.c @@ -674,6 +674,7 @@ void FuncDeclaration::semantic3(Scope *sc) sc2->structalign = 8; sc2->incontract = 0; sc2->tf = NULL; + sc2->tfOfTry = NULL; sc2->noctor = 0; // Declare 'this'