Fix tests: "infix modifier required" and "operator modifier required" errors
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
package a
|
||||
|
||||
class MyClass1 {
|
||||
public operator fun plus() {}
|
||||
public operator fun unaryPlus() {}
|
||||
}
|
||||
|
||||
fun main(arg: MyClass1) {
|
||||
arg<!TOO_MANY_ARGUMENTS!>+<!><!SYNTAX!><!>
|
||||
arg<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>+<!><!SYNTAX!><!>
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ package a {
|
||||
public constructor MyClass1()
|
||||
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 operator fun plus(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
public final operator fun unaryPlus(): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user