blob: 3ec5fa0b00189c7d2a2099d41f2fd3d25a133b74 [file]
// ENABLE_SERIALIZATION
// ENABLE_LOMBOK
// WITH_STDLIB
// ISSUE: KT-90516
import lombok.Builder
@Builder
class Dog(val name: String) {
// The setters are built from the primary constructor parameter types while the supertypes of this builder
// class are still being resolved
class DogBuilder
}
fun box(): String = if (Dog.builder().name("Rex").build().name == "Rex") "OK" else "Fail"