Open myhau opened 1 year ago
For now, we manually add hard spaces in some places, like here:
.addStatement("return %T.values().first·{·it.javaValue·==·%L·}", kotlinClass, JAVA_TYPE_PARAMETER_NAME)
Without this, Kotlin Poet used to add line breaks to the generated expression, which resulted in non-compiling code.
For now, we manually add hard spaces in some places, like here:
Without this, Kotlin Poet used to add line breaks to the generated expression, which resulted in non-compiling code.