Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
konradweiss committed Sep 11, 2023
1 parent 8966d86 commit 498131a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,9 @@ open class CallResolver(ctx: TranslationContext) : SymbolResolverPass(ctx) {
}
}

protected fun handleConstructorCallExpression(constructorCallExpression: ConstructorCallExpression) {
protected fun handleConstructorCallExpression(
constructorCallExpression: ConstructorCallExpression
) {
constructorCallExpression.containingClass?.let { containingClass ->
val recordDeclaration = recordMap[constructorCallExpression.parseName(containingClass)]
val signature = constructorCallExpression.arguments.map { it.type }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,11 @@ class StatementHandler(lang: JavaLanguageFrontend?) :
} else {
containingClass = currentRecord.name.toString()
}
val node = this.newConstructorCallExpression(containingClass, explicitConstructorInvocationStmt.toString())
val node =
this.newConstructorCallExpression(
containingClass,
explicitConstructorInvocationStmt.toString()
)
val arguments =
explicitConstructorInvocationStmt.arguments
.stream()
Expand Down

0 comments on commit 498131a

Please sign in to comment.