mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Report error even if interpretElement resolves to a non-Callable Element
Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com>
This commit is contained in:
@@ -41,7 +41,7 @@ query string getAParseFailure(string reason) {
|
||||
string namespace, string type, boolean subtypes, string name, string signature, string ext
|
||||
|
|
||||
summaryModel(namespace, type, subtypes, name, signature, ext, _, _, _, result) and
|
||||
not exists(interpretElement(namespace, type, subtypes, name, signature, ext)) and
|
||||
not interpretElement(namespace, type, subtypes, name, signature, ext) instanceof Callable and
|
||||
reason = "callable could not be resolved"
|
||||
)
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user