Report warning on unary plus()/minus()
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
public class A {
|
||||
public operator fun get(vararg attrs : Pair<String, String>) : A = this
|
||||
}
|
||||
operator fun String.plus() : A = A()
|
||||
operator fun String.unaryPlus() : A = A()
|
||||
operator fun A.div(s : String) : A = A()
|
||||
|
||||
fun test() {
|
||||
|
||||
@@ -3,8 +3,8 @@ package
|
||||
public val x: B
|
||||
public fun test(): kotlin.Unit
|
||||
public operator fun A.div(/*0*/ s: kotlin.String): A
|
||||
public operator fun kotlin.String.plus(): A
|
||||
public infix fun </*0*/ A, /*1*/ B> A.to(/*0*/ that: B): Pair<A, B>
|
||||
public operator fun kotlin.String.unaryPlus(): A
|
||||
|
||||
public final class A {
|
||||
public constructor A()
|
||||
|
||||
Reference in New Issue
Block a user