Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions unified/ql/lib/codeql/unified/internal/LocalNameBinding.qll
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,12 @@ private module LocalNameBindingInput implements LocalNameBindingInputSig<Locatio
declaration = decl
)
or
exists(ConstructorDeclaration decl |
getChild(scope, _) = decl and
pattern = decl.getNameNode() and
declaration = decl
)
Comment on lines +289 to +293
or
exists(ImportDeclaration imprt |
getChild(scope, _) = imprt and
pattern = imprt.getPattern() and
Expand Down
Loading