mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
JS: push negation
This commit is contained in:
@@ -20,7 +20,7 @@ predicate unambiguousPropWrite(DataFlow::SourceNode base, string name, Assignmen
|
||||
assign.getLhs().flow() = lhs and
|
||||
base.getAPropertyWrite(name) = lhs and
|
||||
not exists (DataFlow::SourceNode otherBase |
|
||||
not otherBase = base and
|
||||
otherBase != base and
|
||||
lhs = otherBase.getAPropertyWrite(name)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user