Fix compiler tests

This commit is contained in:
Yan Zhulanow
2015-09-21 23:40:34 +03:00
parent 35362a0f3b
commit 6db9344659
319 changed files with 1034 additions and 1032 deletions
@@ -1,15 +1,15 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
class C {
fun get(i: Int): C = this
operator fun get(i: Int): C = this
}
fun C.plus(a: Any): C = this
fun C.plusAssign(a: Any) {}
operator fun C.plus(a: Any): C = this
operator fun C.plusAssign(a: Any) {}
class C1 {
fun get(i: Int): C = C()
fun set(i: Int, v: C) {}
operator fun get(i: Int): C = C()
operator fun set(i: Int, v: C) {}
}
fun test() {