Skip to content

Commit 0dcd52b

Browse files
committed
Python: Moves dependent query over to suffixed predicate names
1 parent 8ee2587 commit 0dcd52b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/Exceptions/IllegalRaise.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ import Raising
1616
import Exceptions.NotImplemented
1717

1818
from Raise r, ClassObject t
19-
where type_or_typeof(r, t, _) and not t.isLegalExceptionType() and not t.failedInference() and not use_of_not_implemented_in_raise(r, _)
19+
where type_or_typeof_objectapi(r, t, _) and not t.isLegalExceptionType() and not t.failedInference() and not use_of_not_implemented_in_raise(r, _)
2020
select r, "Illegal class '" + t.getName() + "' raised; will result in a TypeError being raised instead."
2121

0 commit comments

Comments
 (0)