[FIR/IR generator] Print visitor method expression bodies on new line
This helps to avoid long lines in visitor classes.
This commit is contained in:
committed by
Space Team
parent
c5f519f7c7
commit
570422dbd4
+4
-1
@@ -121,7 +121,10 @@ abstract class AbstractVisitorPrinter<Element : AbstractElement<Element, Field>,
|
||||
override = parentInVisitor != null && visitorSuperType != null,
|
||||
)
|
||||
if (parentInVisitor != null) {
|
||||
print(" = ", parentInVisitor.visitFunctionName, "(", element.visitorParameterName, ", data)")
|
||||
println(" =")
|
||||
withIndent {
|
||||
print(parentInVisitor.visitFunctionName, "(", element.visitorParameterName, ", data)")
|
||||
}
|
||||
}
|
||||
println()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user