Update python/ql/test/experimental/library-tests/CallGraph/InlineCallGraphTest.ql

Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
This commit is contained in:
Anders Schack-Mulligen
2024-10-29 13:57:27 +01:00
committed by GitHub
parent 5950c336e2
commit 8b5756526c

View File

@@ -31,8 +31,7 @@ predicate typeTrackerCallEdge(CallNode call, Function callable) {
predicate typeTrackerClassCall(CallNode call, Function callable) {
exists(call.getLocation().getFile().getRelativePath()) and
exists(callable.getLocation().getFile().getRelativePath()) and
TT::resolveCall(call, callable, any(TT::TCallType t | t instanceof TT::CallTypeClass)) and
TT::TFunction(callable) instanceof TT::DataFlowFunction
TT::resolveCall(call, callable, any(TT::TCallType t | t instanceof TT::CallTypeClass))
}
module CallGraphTest implements TestSig {