mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
have the Instance token just be an alias for ReturnValue
This commit is contained in:
@@ -53,7 +53,7 @@ API::Node getExtraSuccessorFromNode(API::Node node, AccessPathToken token) {
|
||||
result = node.getMember(token.getAnArgument())
|
||||
or
|
||||
token.getName() = "Instance" and
|
||||
result = node.getASubclass*().getReturn() // In Python `Instance` is just an alias for `Subclass.ReturnValue`
|
||||
result = node.getReturn() // In Python `Instance` is just an alias for `ReturnValue`
|
||||
or
|
||||
token.getName() = "Awaited" and
|
||||
result = node.getAwaited()
|
||||
|
||||
Reference in New Issue
Block a user