mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Ruby: Assignment -> AssignExpr
This commit is contained in:
@@ -896,7 +896,7 @@ class ModuleNode instanceof Module {
|
||||
* Does not take inheritance into account.
|
||||
*/
|
||||
Node getAnOwnInstanceVariableWriteValue(string name) {
|
||||
exists(Assignment assignment |
|
||||
exists(AssignExpr assignment |
|
||||
assignment.getLeftOperand() = this.getAnOwnInstanceVariableAccess(name) and
|
||||
result.asExpr().getExpr() = assignment.getRightOperand()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user