[TD] Update test data after previous commit
This commit is contained in:
compiler/fir/analysis-tests/testData/resolve/problems/complexLambdaWithTypeVariableAsExpectedType.kt
Vendored
+1
-1
@@ -3,4 +3,4 @@ fun <K> select(x: K, y: K): K = TODO()
|
||||
|
||||
fun test() {
|
||||
select(id { it.inv() }, id<(Int) -> Unit> { })
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -11,5 +11,5 @@ public interface SLRUMap<V> {
|
||||
// FILE: main.kt
|
||||
|
||||
fun <V> SLRUMap<V>.getOrPut(value: V) {
|
||||
<!INAPPLICABLE_CANDIDATE!>takeV<!>(value)
|
||||
<!INAPPLICABLE_CANDIDATE{LT}!><!INAPPLICABLE_CANDIDATE{PSI}!>takeV<!>(value)<!>
|
||||
}
|
||||
|
||||
+3
-3
@@ -20,7 +20,7 @@ class WrappedPropertyDescriptor : PropertyDescriptor {
|
||||
fun test() {
|
||||
val descriptor = WrappedPropertyDescriptor()
|
||||
val res1 = descriptor.setter
|
||||
val res2 = descriptor.<!UNRESOLVED_REFERENCE!>getSetter<!>() // Should be error
|
||||
val res2 = descriptor.<!UNRESOLVED_REFERENCE{LT}!><!UNRESOLVED_REFERENCE{PSI}!>getSetter<!>()<!> // Should be error
|
||||
val res3 = descriptor.isDelegated
|
||||
val res4 = descriptor.<!UNRESOLVED_REFERENCE!>isDelegated<!>() // Should be error
|
||||
}
|
||||
val res4 = descriptor.<!UNRESOLVED_REFERENCE{LT}!><!UNRESOLVED_REFERENCE{PSI}!>isDelegated<!>()<!> // Should be error
|
||||
}
|
||||
|
||||
+1
-1
@@ -22,4 +22,4 @@ open class A(val s: String) {
|
||||
inner class F : E()
|
||||
}
|
||||
|
||||
fun box(): String = A("Fail").F().s
|
||||
fun box(): String = A("Fail").F().s
|
||||
|
||||
+2
-2
@@ -10,5 +10,5 @@ class Another {}
|
||||
|
||||
fun test() {
|
||||
val some = Some()
|
||||
val another = <!UNRESOLVED_REFERENCE!>Another<!>()
|
||||
}
|
||||
val another = <!UNRESOLVED_REFERENCE{LT}!><!UNRESOLVED_REFERENCE{PSI}!>Another<!>()<!>
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
class Outer { inner class Inner }
|
||||
fun test() {
|
||||
val x = object : <!UNRESOLVED_REFERENCE!>Outer.Inner<!>() { }
|
||||
}
|
||||
val x = object : <!UNRESOLVED_REFERENCE{LT}!><!UNRESOLVED_REFERENCE{PSI}!>Outer.Inner<!>()<!> { }
|
||||
}
|
||||
|
||||
+1
-1
@@ -10,4 +10,4 @@ class B(p0: String) {
|
||||
p1 = p0.length
|
||||
p3 = ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user