Fix tests ('infix')
This commit is contained in:
@@ -16,7 +16,7 @@ fun <T: Any, E> T.foo(<!UNUSED_PARAMETER!>x<!> : E, y : A) : T {
|
||||
|
||||
class A
|
||||
|
||||
operator fun A.plus(<!UNUSED_PARAMETER!>a<!> : Any) {
|
||||
infix operator fun A.plus(<!UNUSED_PARAMETER!>a<!> : Any) {
|
||||
|
||||
1.foo()
|
||||
true.<!TYPE_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>foo<!>(<!NO_VALUE_FOR_PARAMETER, NO_VALUE_FOR_PARAMETER!>)<!>
|
||||
|
||||
@@ -25,7 +25,7 @@ package outer {
|
||||
public fun kotlin.Int.foo(): kotlin.Int
|
||||
public operator fun </*0*/ T> T.minus(/*0*/ t: T): kotlin.Int
|
||||
public fun kotlin.Int?.optint(): kotlin.Unit
|
||||
public operator fun outer.A.plus(/*0*/ a: kotlin.Any): kotlin.Unit
|
||||
public operator infix fun outer.A.plus(/*0*/ a: kotlin.Any): kotlin.Unit
|
||||
public operator fun outer.A.plus(/*0*/ a: kotlin.Int): kotlin.Unit
|
||||
|
||||
public final class A {
|
||||
|
||||
Reference in New Issue
Block a user