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,9 +1,9 @@
class A {
fun plusAssign(<!UNUSED_PARAMETER!>x<!>: Int) {}
fun minusAssign(<!UNUSED_PARAMETER!>x<!>: Int) {}
fun timesAssign(<!UNUSED_PARAMETER!>x<!>: Int) {}
fun divAssign(<!UNUSED_PARAMETER!>x<!>: Int) {}
fun modAssign(<!UNUSED_PARAMETER!>x<!>: Int) {}
operator fun plusAssign(<!UNUSED_PARAMETER!>x<!>: Int) {}
operator fun minusAssign(<!UNUSED_PARAMETER!>x<!>: Int) {}
operator fun timesAssign(<!UNUSED_PARAMETER!>x<!>: Int) {}
operator fun divAssign(<!UNUSED_PARAMETER!>x<!>: Int) {}
operator fun modAssign(<!UNUSED_PARAMETER!>x<!>: Int) {}
}
fun testVal() {
@@ -24,11 +24,11 @@ fun testExpr() {
}
class B {
fun plus(<!UNUSED_PARAMETER!>x<!>: Int): B = B()
fun minus(<!UNUSED_PARAMETER!>x<!>: Int): B = B()
fun times(<!UNUSED_PARAMETER!>x<!>: Int): B = B()
fun div(<!UNUSED_PARAMETER!>x<!>: Int): B = B()
fun mod(<!UNUSED_PARAMETER!>x<!>: Int): B = B()
operator fun plus(<!UNUSED_PARAMETER!>x<!>: Int): B = B()
operator fun minus(<!UNUSED_PARAMETER!>x<!>: Int): B = B()
operator fun times(<!UNUSED_PARAMETER!>x<!>: Int): B = B()
operator fun div(<!UNUSED_PARAMETER!>x<!>: Int): B = B()
operator fun mod(<!UNUSED_PARAMETER!>x<!>: Int): B = B()
}
fun testWrong() {