Extract string resource intention action for android (KT-11715)

#KT-11715 Fixed
This commit is contained in:
Vyacheslav Gerasimov
2016-10-24 23:15:04 +03:00
parent 53ea5a2dbb
commit 3ce1703ced
65 changed files with 859 additions and 0 deletions
@@ -0,0 +1,13 @@
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()