Skip to content

Commit c36c0ae

Browse files
committed
Fixes renaming bug
1 parent c5986c5 commit c36c0ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/Expressions/HashedButNoHash.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ predicate is_unhashable(ControlFlowNode f, ClassValue cls, ControlFlowNode origi
6969
predicate typeerror_is_caught(ControlFlowNode f) {
7070
exists (Try try |
7171
try.getBody().contains(f.getNode()) and
72-
try.getAHandler().getType().pointsTo(ClassValue::typeErrorType()))
72+
try.getAHandler().getType().pointsTo(ClassValue::typeError()))
7373
}
7474

7575
from ControlFlowNode f, ClassValue c, ControlFlowNode origin

0 commit comments

Comments
 (0)