Skip to content

Commit

Permalink
Fix for failing tests (#826)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsantalis committed Dec 15, 2024
1 parent 774dd10 commit 92aea74
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,10 @@ else if((parentFieldDeclarationMap != null && parentFieldDeclarationMap.contains
return operation.getClassName().endsWith("." + expression) || operation.getClassName().equals(expression);
}
else {
return callerOperation.getClassName().equals(operation.getClassName());
if(classDiff != null && classDiff.getNextClass().importsType(operation.getClassName() + "." + operation.getName())) {
return true;
}
return callerOperation.getClassName().equals(operation.getClassName()) || callerOperation.getClassName().startsWith(operation.getClassName());
}
}
return result;
Expand Down

0 comments on commit 92aea74

Please sign in to comment.