5bdea9652b
Previously `FirPropertyAccessor.source` references the `KtProperty` if the user code contains a setter or getter that doesn't contain a body. For example, with the following ``` val i: Int = 1 private set ``` The `FirPropertyAccessor` would reference the `KtProperty` as the source. This change makes `FirPropertyAccessor` reference `KtPropertyAccessor` as the source if possible, regardless of whether the body is present or not.
21 lines
768 B
Kotlin
Vendored
21 lines
768 B
Kotlin
Vendored
interface Test<in I, out O> {
|
|
val internal_val: I
|
|
public val public_val: I
|
|
protected val protected_val: I
|
|
<!PRIVATE_PROPERTY_IN_INTERFACE!>private<!> val private_val: I
|
|
|
|
var interlan_private_set: O
|
|
<!PRIVATE_SETTER_FOR_ABSTRACT_PROPERTY!>private<!> set
|
|
public var public_private_set: O
|
|
<!PRIVATE_SETTER_FOR_ABSTRACT_PROPERTY!>private<!> set
|
|
protected var protected_private_set: O
|
|
<!PRIVATE_SETTER_FOR_ABSTRACT_PROPERTY!>private<!> set
|
|
<!PRIVATE_PROPERTY_IN_INTERFACE!>private<!> var private_private_set: O
|
|
private set
|
|
|
|
fun internal_fun(i: O) : I
|
|
public fun public_fun(i: O) : I
|
|
protected fun protected_fun(i: O) : I
|
|
<!PRIVATE_FUNCTION_WITH_NO_BODY!>private<!> fun private_fun(i: O) : I
|
|
}
|