mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
Fixes renaming bug
This commit is contained in:
@@ -69,7 +69,7 @@ predicate is_unhashable(ControlFlowNode f, ClassValue cls, ControlFlowNode origi
|
||||
predicate typeerror_is_caught(ControlFlowNode f) {
|
||||
exists (Try try |
|
||||
try.getBody().contains(f.getNode()) and
|
||||
try.getAHandler().getType().pointsTo(ClassValue::typeErrorType()))
|
||||
try.getAHandler().getType().pointsTo(ClassValue::typeError()))
|
||||
}
|
||||
|
||||
from ControlFlowNode f, ClassValue c, ControlFlowNode origin
|
||||
|
||||
Reference in New Issue
Block a user