File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
semanticcpg/src/main/scala/io/shiftleft/semanticcpg/language/nodemethods Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,8 @@ class CfgNodeMethods(val node: CfgNode) extends AnyVal with NodeExtension {
106106 case _ : MethodParameterIn | _ : MethodParameterOut | _ : MethodReturn =>
107107 walkUpAst(node)
108108 case _ : CallRepr if ! node.isInstanceOf [Call ] => walkUpAst(node)
109- case _ : Annotation | _ : AnnotationLiteral => node.inAst.collectAll[Method ].headOption.orNull case _ : Expression | _ : JumpTarget => walkUpContains(node)
109+ case _ : Annotation | _ : AnnotationLiteral => node.inAst.collectAll[Method ].headOption.orNull
110+ case _ : Expression | _ : JumpTarget => walkUpContains(node)
110111 }
111112
112113 /** Obtain hexadecimal string representation of lineNumber field.
You can’t perform that action at this time.
0 commit comments