Python: ObjectAPI to ValueAPI: ReturnValueIgnored: Reorganizes predicates

This commit is contained in:
Rebecca Valentine
2020-04-01 14:41:49 -07:00
parent 09349f1957
commit cc53b15a5d
3 changed files with 8 additions and 8 deletions

View File

@@ -50,7 +50,7 @@ predicate returns_meaningful_value(FunctionValue f) {
*/
f.isBuiltin() and
f.(CallableObjectInternal).getAnInferredReturnType() != ClassValue::nonetype() and
f.getAnInferredReturnType() != ClassValue::nonetype() and
not f.getName() = "__import__"
)
}