Preserve origins when desugaring augmented array assignments
^KT-63827: Fixed
This commit is contained in:
committed by
Space Team
parent
eb790732fd
commit
77d0d1073e
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
interface Bar
|
||||
|
||||
operator fun Bar.get(n: Int): Int = 42
|
||||
|
||||
private operator fun Int.timesAssign(s: String) {}
|
||||
|
||||
fun usageBar(bar: Bar) {
|
||||
<expr>bar[1] *= "bar"</expr>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user