Complex augmented assignment test.

Fix string literal creation for empty string template.
This commit is contained in:
Dmitry Petrov
2016-08-17 12:09:12 +03:00
committed by Dmitry Petrov
parent 64d7a97145
commit c1583c4368
8 changed files with 55 additions and 14 deletions
@@ -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
}