6675d7814c
* Add inspection to replace String.format with string templates #KT-14779 Fixed * KT-14779 Fixed
12 lines
175 B
Kotlin
Vendored
12 lines
175 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
// HIGHLIGHT: INFORMATION
|
|
|
|
fun test() {
|
|
val foo = 1
|
|
|
|
<caret>String.format("foo is %s, bar is %s.", foo, Bar().value)
|
|
}
|
|
|
|
class Bar {
|
|
val value = 2
|
|
} |