Files
kotlin-fork/idea/testData/inspections/redundantSamConstructor/otherGenericsInParams.kt
T
2015-08-24 12:37:37 +03:00

12 lines
277 B
Kotlin
Vendored

package redundantSamConstructor
import a.*
fun test() {
MyJavaClass.foo1(Runnable { }, 1)
MyJavaClass.foo1(Runnable { }, Runnable { })
MyJavaClass.foo2(1, Runnable { })
MyJavaClass.foo2(Runnable { }, Runnable { })
A<String>().foo(JFunction1<String> {})
}