Files
kotlin-fork/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/complexPlus.kt
T

12 lines
260 B
Kotlin

fun doSomething<T>(a: T) {}
fun test() {
class Test {
fun plus(): Test = Test()
fun plus(a: Test): Test = Test()
fun minus(): Test = Test()
}
val test = Test()
doSomething((-((test + test).pl<caret>us())).toString())
}