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

9 lines
183 B
Kotlin
Vendored

// INTENTION_TEXT: Replace with '-' operator
fun test() {
class Test {
operator fun unaryMinus(): Test = Test()
}
val test = Test()
test.unaryMin<caret>us()
}