Python: Fix ForTarget

This commit is contained in:
Rasmus Lerchedahl Petersen
2021-02-03 22:14:15 +01:00
parent b5633625b3
commit a7ca065411
3 changed files with 47 additions and 3 deletions

View File

@@ -1253,7 +1253,7 @@ module IterableUnpacking {
or
exists(Comp comp |
source = comp.getIterable() and
this.getNode() = comp.getIterationVariable(0).getAStore()
this.getNode() = comp.getNthInnerLoop(0).getTarget()
)
}