Update test data for tower resolution algorithm
- 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
This commit is contained in:
committed by
Stanislav Erokhin
parent
66a031f7a0
commit
239502368a
+6
-2
@@ -3,11 +3,15 @@ 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.*
|
||||
|
||||
fun <T> f(<!UNUSED_PARAMETER!>l<!>: List<T>) {}
|
||||
import bar.*
|
||||
|
||||
fun <T> test(l: List<T>) {
|
||||
<!CANNOT_COMPLETE_RESOLVE!>f<!>(l)
|
||||
|
||||
+4
-1
@@ -1,8 +1,11 @@
|
||||
package
|
||||
|
||||
public fun </*0*/ T> f(/*0*/ l: kotlin.List<T>): kotlin.Unit
|
||||
public fun </*0*/ T> test(/*0*/ l: kotlin.List<T>): kotlin.Unit
|
||||
|
||||
package bar {
|
||||
public fun </*0*/ T> f(/*0*/ l: kotlin.List<T>): kotlin.Unit
|
||||
}
|
||||
|
||||
package foo {
|
||||
public fun </*0*/ T> f(/*0*/ l: kotlin.List<T>): kotlin.Unit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user