mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
add "class Deferred{...}" as potential Deferred implementation to fix the tests
This commit is contained in:
@@ -46,10 +46,15 @@ module Deferred {
|
||||
or
|
||||
result.(DataFlow::ParameterNode).getName() = "Deferred"
|
||||
or
|
||||
exists(Function f |
|
||||
exists(Function f |
|
||||
f.getName() = "Deferred" and
|
||||
result = DataFlow::valueNode(f)
|
||||
)
|
||||
or
|
||||
exists(ClassDefinition c |
|
||||
c.getName() = "Deferred" and
|
||||
result = DataFlow::valueNode(c)
|
||||
)
|
||||
)
|
||||
and
|
||||
// Sanity check that it is a Deferred implementation
|
||||
|
||||
Reference in New Issue
Block a user