Files
kotlin-fork/idea/testData/intentions/conventionNameCalls/replaceCallWithUnaryOperator/defaultArgument.kt
T
2015-12-17 11:11:27 +03:00

8 lines
144 B
Kotlin
Vendored

fun test() {
class Test {
operator fun unaryPlus(a: Int=1): Test = Test()
}
val test = Test()
test.unaryPl<caret>us()
}