Fix test data for postfix templates test
In this tests there are two variants: - One extracts the lambda - And another extracts the whole call For some reason, the order of completion variants has been changed in 182
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
// ALLOW_MULTIPLE_EXPRESSIONS
|
// ALLOW_MULTIPLE_EXPRESSIONS
|
||||||
fun bar(x: (Int) -> String) = x(1)
|
fun bar(x: (Int) -> String) = x(1)
|
||||||
fun foo() {
|
fun foo() {
|
||||||
val bar = bar() { y: Int -> "abc" }
|
val x = { y: Int -> "abc" }
|
||||||
|
bar(x)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
// ALLOW_MULTIPLE_EXPRESSIONS
|
||||||
|
fun bar(x: (Int) -> String) = x(1)
|
||||||
|
fun foo() {
|
||||||
|
val bar = bar() { y: Int -> "abc" }
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user