Skip to content

Commit 952bc84

Browse files
committed
Use explicit this
1 parent affe42b commit 952bc84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/ql/lib/semmle/go/Scopes.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ class Method extends Function {
533533
* implement themselves.
534534
*/
535535
predicate implements(Method m) {
536-
if this.isInterfaceMethod() then this = m else implementsIncludingInterfaceMethods(m)
536+
if this.isInterfaceMethod() then this = m else this.implementsIncludingInterfaceMethods(m)
537537
}
538538

539539
/**

0 commit comments

Comments
 (0)