Skip to content

Commit 35b6cbe

Browse files
committed
Java: Fix compilation error.
1 parent e51a10a commit 35b6cbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/src/Telemetry/ExternalAPI.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class ExternalAPI extends Callable {
6262

6363
/** Holds if this API has a supported summary. */
6464
predicate hasSummary() {
65-
this instanceof SummarizedCallable or
65+
this = any(SummarizedCallable sc).asCallable() or
6666
TaintTracking::localAdditionalTaintStep(this.getAnInput(), _)
6767
}
6868

0 commit comments

Comments
 (0)