Test framewrk update: check lambda inlining

This commit is contained in:
Michael Bogdanov
2015-04-13 11:57:23 +03:00
parent 27c40edeb4
commit 7025a4f933
41 changed files with 176 additions and 51 deletions
@@ -15,7 +15,7 @@ fun test(): String {
fun box(): String {
return test()
}
//NO_CHECK_LAMBDA_INLINING
//SMAP
//lambda.1.kt
@@ -3,5 +3,5 @@ package builders
inline fun call(inlineOptions(InlineOption.ONLY_LOCAL_RETURN) init: () -> Unit) {
return init()
}
//NO_CHECK_LAMBDA_INLINING
//SMAP ABSENT
@@ -17,8 +17,8 @@ inline fun test(): String {
fun box(): String {
return test()
}
//NO_CHECK_LAMBDA_INLINING
//TODO SHOULD BE LESS
//SMAP
//lambdaOnInlineCallSite.1.kt
//Kotlin
@@ -15,7 +15,7 @@ fun test(): String {
fun box(): String {
return test()
}
//NO_CHECK_LAMBDA_INLINING
//SMAP
//object.1.kt
//Kotlin
@@ -19,7 +19,7 @@ fun test(): String {
fun box(): String {
return test()
}
//NO_CHECK_LAMBDA_INLINING
//SMAP
//objectOnCallSite.1.kt
@@ -19,8 +19,8 @@ inline fun test(): String {
fun box(): String {
return test()
}
//NO_CHECK_LAMBDA_INLINING
//TODO SHOULD BE LESS
//SMAP
//objectOnInlineCallSite.1.kt
//Kotlin
@@ -4,7 +4,7 @@ import kotlin.InlineOption.*
fun box(): String {
return test()
}
//NO_CHECK_LAMBDA_INLINING
//SXMAP
//objectOnInlineCallSite2.1.kt
@@ -4,6 +4,6 @@ import kotlin.InlineOption.*
fun box(): String {
return test{"OK"}
}
//NO_CHECK_LAMBDA_INLINING
//TODO