Files
kotlin-fork/idea/testData/inspectionsLocal/conventionNameCalls/replaceCallWithBinaryOperator/plusSanityTest.kt
T
2017-12-26 18:39:51 +03:00

9 lines
158 B
Kotlin
Vendored

// FIX: Replace with '+'
fun test() {
class Test {
operator fun plus(a: Int): Test = Test()
}
val test = Test()
test.pl<caret>us(1)
}