fix a few more tests
This commit is contained in:
+1
-1
@@ -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
-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
|
||||
Reference in New Issue
Block a user