Python: Moves dependent query over to suffixed predicate names

This commit is contained in:
Rebecca Valentine
2020-03-02 17:35:13 -08:00
parent 8ee2587997
commit 0dcd52bd87

View File

@@ -16,6 +16,6 @@ import Raising
import Exceptions.NotImplemented
from Raise r, ClassObject t
where type_or_typeof(r, t, _) and not t.isLegalExceptionType() and not t.failedInference() and not use_of_not_implemented_in_raise(r, _)
where type_or_typeof_objectapi(r, t, _) and not t.isLegalExceptionType() and not t.failedInference() and not use_of_not_implemented_in_raise(r, _)
select r, "Illegal class '" + t.getName() + "' raised; will result in a TypeError being raised instead."