4b2834c4a8
#KT32868 Fixed
10 lines
176 B
Kotlin
Vendored
10 lines
176 B
Kotlin
Vendored
// OUT_OF_CODE_BLOCK: FALSE
|
|
|
|
fun twice(s: String): String {
|
|
val repeatFun: String.(Int) -> String = { t -> this.repeat(<caret>) }
|
|
|
|
return repeatFun(s, 2)
|
|
}
|
|
|
|
// TYPE: t
|