Rename unary plus() and minus() to unaryPlus() and unaryMinus()
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
// "Create member function 'minus'" "true"
|
||||
// "Create member function 'unaryMinus'" "true"
|
||||
|
||||
class A<T>(val n: T) {
|
||||
fun minus(n: Int): A<T> = throw Exception()
|
||||
operator fun minus(n: Int): A<T> = throw Exception()
|
||||
}
|
||||
|
||||
fun test() {
|
||||
|
||||
Reference in New Issue
Block a user