Shared variables lowering.

This commit is contained in:
Dmitry Petrov
2016-10-07 15:01:09 +03:00
parent fedfd3de16
commit fb5298237a
19 changed files with 751 additions and 136 deletions
@@ -0,0 +1,8 @@
fun <X : Any> foo(x: X): String {
fun <Y : Any> bar(y: Y) =
x.toString() + y.toString()
return bar("K")
}
fun box() = foo("O")