Skip to content

Commit 0f87a89

Browse files
erik-kroghasgerf
andauthored
use typeLabel instead of typeDecl
Co-authored-by: Asger F <asgerf@github.com>
1 parent d35d3f4 commit 0f87a89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/extractor/src/com/semmle/js/extractor/ASTExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1821,7 +1821,7 @@ public Label visit(TupleTypeExpr nd, Context c) {
18211821
Label key = super.visit(nd, c);
18221822
if (nd.getElementNames() != null) {
18231823
// Element names are index -1, -2, -3...
1824-
visitAll(nd.getElementNames(), key, IdContext.typeDecl, -1, -1);
1824+
visitAll(nd.getElementNames(), key, IdContext.typeLabel, -1, -1);
18251825
}
18261826
visitAll(nd.getElementTypes(), key, IdContext.typeBind, 0);
18271827
return key;

0 commit comments

Comments
 (0)