mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
use typeLabel instead of typeDecl
Co-authored-by: Asger F <asgerf@github.com>
This commit is contained in:
committed by
GitHub
parent
d35d3f4271
commit
0f87a89fd1
@@ -1821,7 +1821,7 @@ public class ASTExtractor {
|
||||
Label key = super.visit(nd, c);
|
||||
if (nd.getElementNames() != null) {
|
||||
// Element names are index -1, -2, -3...
|
||||
visitAll(nd.getElementNames(), key, IdContext.typeDecl, -1, -1);
|
||||
visitAll(nd.getElementNames(), key, IdContext.typeLabel, -1, -1);
|
||||
}
|
||||
visitAll(nd.getElementTypes(), key, IdContext.typeBind, 0);
|
||||
return key;
|
||||
|
||||
Reference in New Issue
Block a user