File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -7251,15 +7251,20 @@ static Namespace currentNS(){
7251
7251
static void closeOver (LocalBinding b , ObjMethod method ){
7252
7252
if (b != null && method != null )
7253
7253
{
7254
- if (RT .get (method .locals , b ) == null )
7254
+ LocalBinding lb = (LocalBinding ) RT .get (method .locals , b );
7255
+ if (lb == null )
7255
7256
{
7256
7257
method .objx .closes = (IPersistentMap ) RT .assoc (method .objx .closes , b , b );
7257
7258
closeOver (b , method .parent );
7258
7259
}
7259
- else if (IN_CATCH_FINALLY .deref () != null )
7260
- {
7261
- method .localsUsedInCatchFinally = (PersistentHashSet ) method .localsUsedInCatchFinally .cons (b .idx );
7262
- }
7260
+ else {
7261
+ if (lb .idx == 0 )
7262
+ method .usesThis = true ;
7263
+ if (IN_CATCH_FINALLY .deref () != null )
7264
+ {
7265
+ method .localsUsedInCatchFinally = (PersistentHashSet ) method .localsUsedInCatchFinally .cons (b .idx );
7266
+ }
7267
+ }
7263
7268
}
7264
7269
}
7265
7270
You can’t perform that action at this time.
0 commit comments