More wise lambda search during inlining

This commit is contained in:
Michael Bogdanov
2016-02-03 13:49:20 +03:00
parent 16f412f993
commit bc2077bfaf
16 changed files with 269 additions and 4 deletions
@@ -0,0 +1,10 @@
package test
inline fun foo(x: String) = x
fun test(a: String, s: String) = s
inline fun processRecords(block: (String, String) -> String): String {
return test("stub", block(foo("O"), foo("K")))
}