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:
Denis Zharkov
2018-08-10 18:40:44 +07:00
parent 20262b8700
commit b38a9ee386
2 changed files with 7 additions and 1 deletions
@@ -1,5 +1,6 @@
// ALLOW_MULTIPLE_EXPRESSIONS
fun bar(x: (Int) -> String) = x(1)
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" }
}