1376c8f8cf
#KT-16624 Fixed #KT-16625 Fixed #KT-14947 Fixed
14 lines
239 B
Kotlin
Vendored
14 lines
239 B
Kotlin
Vendored
package com.myapp
|
|
|
|
import android.content.Context
|
|
|
|
fun foo(context: Context) {
|
|
with (context) {
|
|
with (2) {
|
|
"z<caret>xc"
|
|
}
|
|
}
|
|
}
|
|
|
|
inline fun <T, R> with(receiver: T, block: T.() -> R): R = receiver.block()
|