File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
powershell/ql/lib/semmle/code/powershell/controlflow Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ class AttributeBaseCfgNode extends AstCfgNode {
136136
137137private class AttributeChildMapping extends AttributeBaseChildMapping , Attribute {
138138 override predicate relevantChild ( Ast child ) {
139- this .relevantChild ( child )
139+ super .relevantChild ( child )
140140 or
141141 child = this .getANamedArgument ( )
142142 or
@@ -576,7 +576,10 @@ module ExprNodes {
576576 }
577577
578578 private class ObjectCreationChildMapping extends CallExprChildMapping instanceof ObjectCreation {
579- override predicate relevantChild ( Ast child ) { child = super .getConstructedTypeExpr ( ) }
579+ override predicate relevantChild ( Ast child ) {
580+ super .relevantChild ( child ) or
581+ child = super .getConstructedTypeExpr ( )
582+ }
580583 }
581584
582585 class ObjectCreationCfgNode extends CallExprCfgNode {
You can’t perform that action at this time.
0 commit comments