Files
kotlin-fork/idea/testData/inspectionsLocal/removeToStringInStringTemplate/caretInSelector.kt
T
Mikhail Glukhikh 44e727b75c Redundant toString() in string template: highlight selector only
And not the receiver. So #KT-18253 Fixed
2017-06-13 15:17:42 +03:00

5 lines
104 B
Kotlin
Vendored

fun foo(a: Int, b: Int) = a + b
fun test(): String {
return "Foo: ${foo(0, 4).<caret>toString()}"
}