Code clean and some refactorings in 'getLambdaIfExistsAndMarkInstructions'

This commit is contained in:
Michael Bogdanov
2016-02-08 14:59:49 +03:00
parent c75b514551
commit 0f90dc1649
19 changed files with 143 additions and 154 deletions
@@ -0,0 +1,11 @@
package test
inline fun foo(x: String) = x
class A {
fun test(s: String) = s
}
inline fun processRecords(block: (String) -> String): String {
return A().test(block(foo("K")))
}