blob: be860e3c93c27de88fdef896e2122e8af14a20fe [file] [log] [blame]
inline fun <T, R> T.use(block: (T) -> R): R {
return block(this)
}
fun foo() {
42.use { i<caret>t.toString() }
}