Skip to content

Commit

Permalink
Fixed compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
oxisto committed Dec 13, 2024
1 parent 966f27a commit b00078d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ open class CallExpression :

/** Adds the specified [expression] with an optional [name] to this call. */
fun addArgument(expression: Expression, name: String? = null) {
val edge = AstEdge(this, expression, labels = setOf("ARGUMENTS", "ARGUMENT"))
val edge = AstEdge(this, expression)
edge.name = name

argumentEdges.add(edge)
Expand Down

0 comments on commit b00078d

Please sign in to comment.