One more test added

This commit is contained in:
Valentin Kipyatkov
2015-10-20 18:30:37 +03:00
parent a3d9085ddd
commit 311bd5f25d
3 changed files with 24 additions and 0 deletions
@@ -0,0 +1,9 @@
interface C {
operator fun set(p: String, value: Int)
}
class D(val c: C) {
fun foo() {
this.c<caret>[""] = 10
}
}
@@ -0,0 +1,9 @@
interface C {
operator fun set(p: String, value: Int)
}
class D(val c: C) {
fun foo() {
this.c.set("", 10)
}
}