Skip to content

Commit d7ef672

Browse files
hvitvedasgerf
andauthored
Apply suggestion from @asgerf
Co-authored-by: Asger F <asgerf@github.com>
1 parent 009d0c3 commit d7ef672

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎unified/ql/lib/codeql/unified/internal/StaticNameBinding.qll‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class NameBindingNode extends TNameBindingNode {
121121
Identifier getIdentifierFromRef(AstNode n) {
122122
result = n.(PotentialLocalNameAccess)
123123
or
124-
result = n.(GenericTypeExpr).getBase()
124+
result = getIdentifierFromRef(n.(GenericTypeExpr).getBase())
125125
or
126126
result = n.(MemberAccessExpr).getMemberNameNode()
127127
}

0 commit comments

Comments
 (0)