mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Python: Fix queries and tests
This commit is contained in:
@@ -36,7 +36,7 @@ predicate same_value(Expr left, Expr right) {
|
||||
}
|
||||
|
||||
predicate maybe_defined_in_outer_scope(Name n) {
|
||||
exists(SsaVariable v | v.getAUse().getNode() = n | v.maybeUndefined())
|
||||
exists(SsaVariableWithPointsTo v | v.getAUse().getNode() = n | v.maybeUndefined())
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user