239502368a
- locals win - unary calls to plus/minus are not supported in favor of unaryPlus/unaryMinus - unqualified nested classes are temporarily reported as unresolved - function without receiver win against extension function - explicit import win against star import
18 lines
268 B
Kotlin
Vendored
18 lines
268 B
Kotlin
Vendored
// FILE: foo.kt
|
|
package foo
|
|
|
|
fun <T> f(<!UNUSED_PARAMETER!>l<!>: List<T>) {}
|
|
|
|
// FILE: bar.kt
|
|
package bar
|
|
|
|
fun <T> f(<!UNUSED_PARAMETER!>l<!>: List<T>) {}
|
|
|
|
// FILE: main.kt
|
|
|
|
import foo.*
|
|
import bar.*
|
|
|
|
fun <T> test(l: List<T>) {
|
|
<!CANNOT_COMPLETE_RESOLVE!>f<!>(l)
|
|
} |