b026678a34
^ KTIJ-24385 Temp property to store receiver is generated for `a.b++` expression. If this property's psi corresponds to receiver expr, then FirProperty would be found by mapper if receiver is requested. It works unexpectedly, because FirProperty is normally not expected by expression. This change set fake sources for generated FirProperty, so it won't be found by source psi
10 lines
190 B
Kotlin
Vendored
10 lines
190 B
Kotlin
Vendored
// IGNORE_FE10
|
|
class F {
|
|
val a = arrayOf(1, 2)
|
|
fun handleLeftBracketInFragment() {
|
|
foo().<expr>peek()</expr>.a[0]++
|
|
}
|
|
|
|
fun foo() : F = F()
|
|
fun peek() : F = this
|
|
} |