Fix compiler tests
This commit is contained in:
+5
-5
@@ -1,11 +1,11 @@
|
||||
class A() {
|
||||
fun plus(<!UNUSED_PARAMETER!>i<!> : Int) {}
|
||||
fun minus() {}
|
||||
fun contains(<!UNUSED_PARAMETER!>a<!> : Any?) : Boolean = true
|
||||
operator fun plus(<!UNUSED_PARAMETER!>i<!> : Int) {}
|
||||
operator fun minus() {}
|
||||
operator fun contains(<!UNUSED_PARAMETER!>a<!> : Any?) : Boolean = true
|
||||
}
|
||||
|
||||
fun A.div(<!UNUSED_PARAMETER!>i<!> : Int) {}
|
||||
fun A?.times(<!UNUSED_PARAMETER!>i<!> : Int) {}
|
||||
operator fun A.div(<!UNUSED_PARAMETER!>i<!> : Int) {}
|
||||
operator fun A?.times(<!UNUSED_PARAMETER!>i<!> : Int) {}
|
||||
|
||||
fun test(x : Int?, a : A?) {
|
||||
x<!UNSAFE_CALL!>.<!>plus(1)
|
||||
|
||||
+5
-5
@@ -1,15 +1,15 @@
|
||||
package
|
||||
|
||||
public fun test(/*0*/ x: kotlin.Int?, /*1*/ a: A?): kotlin.Unit
|
||||
public fun A.div(/*0*/ i: kotlin.Int): kotlin.Unit
|
||||
public fun A?.times(/*0*/ i: kotlin.Int): kotlin.Unit
|
||||
public operator fun A.div(/*0*/ i: kotlin.Int): kotlin.Unit
|
||||
public operator fun A?.times(/*0*/ i: kotlin.Int): kotlin.Unit
|
||||
|
||||
public final class A {
|
||||
public constructor A()
|
||||
public final fun contains(/*0*/ a: kotlin.Any?): kotlin.Boolean
|
||||
public final operator fun contains(/*0*/ a: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public final fun minus(): kotlin.Unit
|
||||
public final fun plus(/*0*/ i: kotlin.Int): kotlin.Unit
|
||||
public final operator fun minus(): kotlin.Unit
|
||||
public final operator fun plus(/*0*/ i: kotlin.Int): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user