Temporarily disable inline for bound function references

This commit is contained in:
Alexander Udalov
2016-06-06 14:41:19 +03:00
parent b9e61f035f
commit 61290d1225
3 changed files with 22 additions and 0 deletions
@@ -0,0 +1,8 @@
inline fun go(f: () -> String) = f()
fun String.id(): String = this
fun box(): String {
val x = "OK"
return go(x::id)
}