File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ruby/ql/lib/codeql/ruby/dataflow/internal Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ class CallNode extends LocalSourceNode, ExprNode {
158158 * ```
159159 */
160160class SetterCallNode extends CallNode {
161- SetterCallNode ( ) { this .asExpr ( ) .getExpr ( ) instanceof SetterMethodCall }
161+ SetterCallNode ( ) { this .getExprNode ( ) .getExpr ( ) instanceof SetterMethodCall }
162162
163163 /**
164164 * Gets the name of the method being called without the trailing `=`. For example, in the following
@@ -169,7 +169,7 @@ class SetterCallNode extends CallNode {
169169 * ```
170170 */
171171 final string getTargetName ( ) {
172- result = this .asExpr ( ) .getExpr ( ) .( SetterMethodCall ) .getTargetName ( )
172+ result = this .getExprNode ( ) .getExpr ( ) .( SetterMethodCall ) .getTargetName ( )
173173 }
174174}
175175
You can’t perform that action at this time.
0 commit comments