3ce1703ced
#KT-11715 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()
|