Index: src/ResolvExpr/Resolver.cc
===================================================================
--- src/ResolvExpr/Resolver.cc	(revision c6c6f2aed949d46b70a8cbd7541b2a7ee7cc4124)
+++ src/ResolvExpr/Resolver.cc	(revision 3f27b9ac2b8f14514c806d4b49cab5c60103870f)
@@ -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();
 	}
 
