Report warning on unary plus()/minus()

This commit is contained in:
Yan Zhulanow
2015-10-12 18:37:28 +03:00
parent 58cbf09232
commit b2470a6aad
16 changed files with 75 additions and 36 deletions
@@ -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() {