mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
Ruby: modgen - support self arguments
This commit is contained in:
@@ -29,6 +29,8 @@ string getArgumentPath(DataFlow::ParameterNode paramNode) {
|
||||
param instanceof Ast::BlockParameter and
|
||||
paramSpecifier = "block"
|
||||
)
|
||||
or
|
||||
paramNode instanceof DataFlow::SelfParameterNode and paramSpecifier = "self"
|
||||
|
|
||||
result = "Argument[" + paramSpecifier + "]"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user