Update python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPrivate.qll

Co-authored-by: Taus <tausbn@github.com>
This commit is contained in:
yoff
2022-01-28 11:38:29 +01:00
committed by GitHub
parent c60df7d69c
commit 74d57bbb1a

View File

@@ -1636,7 +1636,7 @@ module MatchUnpacking {
*/
predicate matchAsFlowStep(Node nodeFrom, Node nodeTo) {
exists(MatchAsPattern subject, Name alias | alias = subject.getAlias() |
// We make the subject flow to the interior pattern via the alis.
// We make the subject flow to the interior pattern via the alias.
// That way, information can propagate from the interior pattern to the alias.
//
// the subject flows to the interior pattern