Index: src/ResolvExpr/Resolver.cc
===================================================================
--- src/ResolvExpr/Resolver.cc	(revision c6c6f2aed949d46b70a8cbd7541b2a7ee7cc4124)
+++ src/ResolvExpr/Resolver.cc	(revision 6ac5223ca2769b2152cbf9b708c56f96dff5d8c4)
@@ -394,5 +394,8 @@
 
 	void Resolver::visit( CatchStmt *catchStmt ) {
-		Parent::visit( catchStmt );
+		// inline Indexer::visit so that the exception variable is still in-scope for
+		// findSingleExpression() below
+		Parent::enterScope();
+		Visitor::visit( catchStmt );
 		
 		if ( catchStmt->get_cond() ) {
@@ -403,4 +406,6 @@
 			catchStmt->set_cond( findSingleExpression( wrapped, *this ) );
 		}
+
+		Parent::leaveScope();
 	}
 
