Test framewrk update: check lambda inlining
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
//NO_CHECK_LAMBDA_INLINING
|
||||
fun box() : String {
|
||||
test {"123"}
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//NO_CHECK_LAMBDA_INLINING
|
||||
fun box() : String {
|
||||
test {"123"}
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//NO_CHECK_LAMBDA_INLINING
|
||||
fun test1(): Int {
|
||||
return calc( { l: Int -> 2*l}, { l: Int -> 4*l})
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//NO_CHECK_LAMBDA_INLINING
|
||||
import test.*
|
||||
|
||||
fun test1(param: String): String {
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
//NO_CHECK_LAMBDA_INLINING
|
||||
import test.*
|
||||
|
||||
import kotlin.InlineOption.*
|
||||
|
||||
inline fun test1(inlineOptions(ONLY_LOCAL_RETURN) param: () -> String): String {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//NO_CHECK_LAMBDA_INLINING
|
||||
fun test1(): Int {
|
||||
val inlineX = Inline()
|
||||
var p = { l : Int -> l};
|
||||
|
||||
Reference in New Issue
Block a user