We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31fbb6f commit 86cc09bCopy full SHA for 86cc09b
powershell/ql/lib/semmle/code/powershell/ast/internal/Synthesis.qll
@@ -789,7 +789,9 @@ private module IteratorAccessSynth {
789
exists(Raw::VarAccess va | va = a |
790
va.getUserPath() = "_"
791
or
792
- exists(Raw::ProcessBlock pb | pb = getProcessBlock(va) |
+ exists(Raw::ProcessBlock pb |
793
+ pragma[only_bind_into](pb) = getProcessBlock(pragma[only_bind_into](va))
794
+ |
795
va.getUserPath().toLowerCase() =
796
pb.getScriptBlock().getParamBlock().getPipelineParameter().getLowerCaseName()
797
0 commit comments