vbsteven
03/20/2023, 5:50 PMbeginControlFlow() / endControlFlow() chains more readable?
.controlFlow(".let") {
add("%T.fromNativeValue(it)", returnTypeInfo.kotlinTypeName)
}
Although the trailing lambda will interfere with the varargs arguments and would need some additional wrapping in a function or CodeBlock.BuilderZac Sweers
03/20/2023, 5:51 PMZac Sweers
03/20/2023, 5:51 PMvbsteven
03/20/2023, 5:52 PMephemient
03/20/2023, 5:52 PM