FIR IDE: move low level api testdata sources to the analysis directory
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
inline fun <T, R> with(receiver: T, block: T.() -> R): R {
|
||||
return receiver.block()
|
||||
}
|
||||
|
||||
inline fun <T, R> T.let(block: (T) -> R): R {
|
||||
return block(this)
|
||||
}
|
||||
|
||||
class A {
|
||||
fun foo() {
|
||||
val a = with(1) {
|
||||
this.let { it }
|
||||
}.let { 2 }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user