Fix compiler tests
This commit is contained in:
+10
-10
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user