Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ee5cf95 + c36c0ae commit e444fb8Copy full SHA for e444fb8
1 file changed
python/ql/src/Expressions/HashedButNoHash.ql
@@ -69,7 +69,7 @@ predicate is_unhashable(ControlFlowNode f, ClassValue cls, ControlFlowNode origi
69
predicate typeerror_is_caught(ControlFlowNode f) {
70
exists (Try try |
71
try.getBody().contains(f.getNode()) and
72
- try.getAHandler().getType().refersTo(theTypeErrorType()))
+ try.getAHandler().getType().pointsTo(ClassValue::typeError()))
73
}
74
75
from ControlFlowNode f, ClassValue c, ControlFlowNode origin
0 commit comments