Fix ql code in neutral fetch.

This commit is contained in:
Anders Starcke Henriksen
2023-08-28 09:42:04 +02:00
parent af22a1573b
commit bc7c97e216

View File

@@ -147,7 +147,7 @@ class CallableMethod extends Callable {
/** Holds if this API is a known neutral. */
pragma[nomagic]
predicate isNeutral() { this = any(FlowSummaryImpl::Public::NeutralCallable nsc).asCallable() }
predicate isNeutral() { this instanceof FlowSummaryImpl::Public::NeutralCallable }
/**
* Holds if this API is supported by existing CodeQL libraries, that is, it is either a