Rename unary plus() and minus() to unaryPlus() and unaryMinus()
This commit is contained in:
Vendored
+2
-2
@@ -2,9 +2,9 @@ fun doSomething<T>(a: T) {}
|
||||
|
||||
fun test() {
|
||||
class Test {
|
||||
fun plus(): Test = Test()
|
||||
fun unaryPlus(): Test = Test()
|
||||
fun plus(a: Test): Test = Test()
|
||||
fun minus(): Test = Test()
|
||||
fun unaryMinus(): Test = Test()
|
||||
}
|
||||
val test = Test()
|
||||
doSomething((-(+(test + test))).toString())
|
||||
|
||||
Reference in New Issue
Block a user