Fix for KT-7544: Backend fails when inlining nested calls with reified type parameter and default value parameter

#KT-7544 Fixed
This commit is contained in:
Michael Bogdanov
2015-04-22 15:45:14 +03:00
parent 72648d305e
commit 53b8a1d56e
20 changed files with 234 additions and 30 deletions
@@ -0,0 +1,7 @@
package test
inline fun bar(inlineOptions(InlineOption.ONLY_LOCAL_RETURN) y: () -> String) = {
call(y)
}
public inline fun <T> call(f: () -> T): T = f()