Test framewrk update: check lambda inlining
This commit is contained in:
@@ -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
|
||||
|
||||
+1
-1
@@ -4,6 +4,6 @@ import kotlin.InlineOption.*
|
||||
fun box(): String {
|
||||
return test{"OK"}
|
||||
}
|
||||
|
||||
//NO_CHECK_LAMBDA_INLINING
|
||||
|
||||
//TODO
|
||||
Reference in New Issue
Block a user