Files
kotlin-fork/idea/testData/inspectionsLocal/removeToStringInStringTemplate/caretInReceiver.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

7 lines
122 B
Kotlin
Vendored

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