3122760c49
- All those tests already pass, they are needed to fix the behaviour of the inspection before the changes
13 lines
347 B
Kotlin
Vendored
13 lines
347 B
Kotlin
Vendored
// COMPILER_ARGUMENTS: -XXLanguage:+NewInference -XXLanguage:+SamConversionForKotlinFunctions -XXLanguage:+FunctionalInterfaceConversion -XXLanguage:-SamConversionPerArgument
|
|
// PROBLEM: none
|
|
|
|
fun interface KtRunnable {
|
|
fun run()
|
|
}
|
|
|
|
fun test(r1: KtRunnable, r2: KtRunnable) {}
|
|
|
|
fun usage(r1: KtRunnable) {
|
|
test(r1, KtRunnable<caret> {})
|
|
}
|