blob: ce4df756636d952cc3825822d2acd2f3d194971e [file] [log] [blame]
// IS_APPLICABLE: false
inline fun <T, R> T.let(block: (T) -> R): R = block(this)
fun foo(arg: Any?): Int? {
return arg?.let {
<caret>x -> x.toString().let {
x.hashCode() + it.hashCode()
}
}
}