Files
kotlin-fork/idea/testData/intentions/conventionNameCalls/replaceCallWithUnaryOperator/plusSanityTest.kt
T

9 lines
181 B
Kotlin
Vendored

// INTENTION_TEXT: Replace with '+' operator
fun test() {
class Test {
operator fun unaryPlus(): Test = Test()
}
val test = Test()
test.unaryPl<caret>us()
}