Skip to content

Commit e3f86a9

Browse files
committed
Swift: fix QL warning
1 parent 9b50336 commit e3f86a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/ql/lib/codeql/swift/elements/expr/MethodRefExpr.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class MethodRefExpr extends MethodRefExprBase {
1717
Synth::convertDeclFromRaw(this.getUnderlying().getFunction().(Raw::DeclRefExpr).getDecl())
1818
}
1919

20-
AbstractFunctionDecl getMethod() { result = getMember() }
20+
AbstractFunctionDecl getMethod() { result = this.getMember() }
2121

2222
cached
2323
private Raw::DotSyntaxCallExpr getUnderlying() { this = Synth::TMethodRefExpr(result) }

0 commit comments

Comments
 (0)