Hi, I'm trying to make a typesafe builder pattern ...
# announcements
b
Hi, I'm trying to make a typesafe builder pattern in Kotlin https://gist.github.com/breandan/d0d7c21bb7f78ef54c21ce6a6ac49b68 Does anyone know how to move the last line
fun ThingBuilder<OK, OK, OK>.build() = Thing(this.a, this.b, this.c)
into
ThingBuilder
?