b93db69a24
Reuse existing (but not used) VALUE_PARAMETER_AS_PROPERTY in BindingContext to store mapping from constructor's value parameters to property descriptors. Create a new slice DATA_CLASS_COMPONENT_FUNCTION to store mapping from constructor's value parameters to generated componentN functions.
7 lines
89 B
Kotlin
7 lines
89 B
Kotlin
data class A(val component1: Int)
|
|
|
|
fun foo(a: A) {
|
|
a.component1()
|
|
a.component1
|
|
}
|