We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d958c04 commit ac91b30Copy full SHA for ac91b30
ql/ql/src/codeql_ql/style/NodeName.qll
@@ -20,7 +20,7 @@ string getName(AstNode node, string kind) {
20
result = node.(NewType).getName() and
21
kind = "newtype"
22
or
23
- result = node.(VarDecl).getName() and
+ result = node.(VarDef).getName() and
24
kind = "variable" and
25
not node = any(FieldDecl f).getVarDecl()
26
0 commit comments