mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
the callback function can both be the second and third argument
This commit is contained in:
@@ -110,7 +110,7 @@ module Typeahead {
|
||||
(
|
||||
pred = this
|
||||
or
|
||||
pred = this.getAFunctionValue().getParameter(1).getACall().getAnArgument()
|
||||
pred = this.getAFunctionValue().getParameter(any(int i | i = 1 or i = 2)).getACall().getAnArgument()
|
||||
) and
|
||||
succ = successor
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user