Fix tests: "infix modifier required" and "operator modifier required" errors

This commit is contained in:
Yan Zhulanow
2015-11-26 15:56:56 +03:00
parent a3ff3ffc45
commit 9d1af5a17e
635 changed files with 1283 additions and 1617 deletions
@@ -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
}
}