Complex augmented assignment test.
Fix string literal creation for empty string template.
This commit is contained in:
committed by
Dmitry Petrov
parent
64d7a97145
commit
c1583c4368
@@ -0,0 +1,11 @@
|
||||
interface IA {
|
||||
operator fun get(index: String): Int
|
||||
}
|
||||
|
||||
interface IB {
|
||||
operator fun IA.set(index: String, value: Int)
|
||||
}
|
||||
|
||||
fun IB.test(a: IA) {
|
||||
a[""] += 42
|
||||
}
|
||||
Reference in New Issue
Block a user