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 91a6dce commit 15a22e5Copy full SHA for 15a22e5
powershell/ql/lib/semmle/code/powershell/dataflow/internal/DataFlowPrivate.qll
@@ -573,14 +573,7 @@ private module ReturnNodes {
573
)
574
}
575
576
- class NormalReturnNode extends ReturnNode instanceof NodeImpl {
577
- NormalReturnNode() {
578
- exists(ReturnContainer container |
579
- container = this.getEnclosingCallable().asCfgScope() and
580
- this = container.getAReturnedNode()
581
- )
582
- }
583
-
+ class NormalReturnNode extends ReturnNode instanceof ReturnNodeImpl {
584
final override NormalReturnKind getKind() { any() }
585
586
0 commit comments