Preserve origins when desugaring augmented array assignments
^KT-63827: Fixed
This commit is contained in:
committed by
Space Team
parent
eb790732fd
commit
77d0d1073e
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
class Foo {
|
||||
companion object {
|
||||
operator fun get(n: Int): Int = 42
|
||||
}
|
||||
}
|
||||
|
||||
private operator fun Any.set(i: Int, value: Int) {}
|
||||
|
||||
fun usageFoo() {
|
||||
<expr>Foo[1] -= 5</expr>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user