Skip to content

Commit 2771182

Browse files
authored
Merge branch 'main' into feature/python-mcp-remote-sources
2 parents 21a5a92 + 7d04932 commit 2771182

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,12 @@ private module LocalNameBindingInput implements LocalNameBindingInputSig<Locatio
286286
declaration = decl
287287
)
288288
or
289+
exists(ConstructorDeclaration decl |
290+
getChild(scope, _) = decl and
291+
pattern = decl.getNameNode() and
292+
declaration = decl
293+
)
294+
or
289295
exists(ImportDeclaration imprt |
290296
getChild(scope, _) = imprt and
291297
pattern = imprt.getPattern() and

0 commit comments

Comments
 (0)