fix a few more tests

This commit is contained in:
Dmitry Jemerov
2015-10-08 20:20:27 +02:00
parent 02a242f15a
commit 457e40a0b8
14 changed files with 42 additions and 58 deletions
@@ -1,6 +1,6 @@
// IS_APPLICABLE: true
fun foo() {
<caret>bar({ 2 * it } as (Int) -> Int)
<caret>bar({ i: Int -> 2 * i })
}
fun bar<T>(t: T): Int = 1
@@ -1,6 +1,6 @@
// IS_APPLICABLE: true
fun foo() {
bar<(Int) -> Int>({ 2 * it } as (Int) -> Int)
bar<(Int) -> Int>({ i: Int -> 2 * i })
}
fun bar<T>(t: T): Int = 1