mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
JS: Fix missing flow into rest pattern lvalue
This commit is contained in:
@@ -1610,6 +1610,11 @@ module DataFlow {
|
||||
pred = TElementPatternNode(_, element) and
|
||||
succ = lvalueNodeInternal(element)
|
||||
)
|
||||
or
|
||||
exists(Expr rest |
|
||||
pred = TRestPatternNode(_, rest) and
|
||||
succ = lvalueNodeInternal(rest)
|
||||
)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user