edrd
03/27/2024, 11:15 PMKlitos Kyriacou
03/28/2024, 9:55 AMinline
classes Name
and Type
instead of String
.edrd
03/28/2024, 11:47 AMvalue class Name(private val string: String) {
override fun toString() = string
}
// ...
val (type, name) = field
appendLine("val $name: $type") // Same problem?
I think the only way alternative to keep the code short and avoid the bug would be to use `with`/`run`…