Fix for KT-6863: Internal compiler error folding functions

#KT-6863 Fixed
This commit is contained in:
Michael Bogdanov
2015-04-09 14:21:55 +03:00
parent a24d845bd0
commit 67c2f7105b
17 changed files with 108 additions and 29 deletions
@@ -0,0 +1,5 @@
fun box() : String {
test {"123"}
return "OK"
}
@@ -0,0 +1,3 @@
inline fun <T> test(p: T) {
p.toString()
}
@@ -0,0 +1,5 @@
fun box() : String {
test {"123"}
return "OK"
}
@@ -0,0 +1,3 @@
inline fun test(p: Any) {
p.toString()
}