Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
max-leuthaeuser committed Dec 19, 2023
1 parent 0b0e44a commit af68ba1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ConstClosurePass(cpg: Cpg) extends CpgPass(cpg) {
private def handleConstClosuresDefinedInObjectExpr(diffGraph: DiffGraphBuilder): Unit =
for {
assignment <- cpg.assignment.filter(_.code.startsWith("_tmp_"))
name <- assignment.start.target.isCall.argument(2).isFieldIdentifier.canonicalName
name <- assignment.start.target.fieldAccess.argument(2).isFieldIdentifier.canonicalName
methodRef <- assignment.start.source.isMethodRef
method <- methodRef.referencedMethod
enclosingMethod <- assignment.start.method.fullName
Expand Down

0 comments on commit af68ba1

Please sign in to comment.