This results in a compiler error as the reference to id is not mapped properly:
The problem is in arrayConstuctor.kt, where the default values are copied from the primary constructor defaults. Maybe we could just call the primary constructor?
@Adat
class SomeCass(
val id: Int = 0,
val name: String = "SomeClass $id"
)
This results in a compiler error as the reference to id is not mapped properly:
The problem is in
arrayConstuctor.kt
, where the default values are copied from the primary constructor defaults. Maybe we could just call the primary constructor?