Reapply "Only create descriptors for candidates with lambda args"
#KT-36247 fixed A lot of testdata changed because significanly less (error) descriptors are created for unresolved types, so diagnostics became different.
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ fun Foo.zbar(<!OI;UNUSED_PARAMETER!>body<!>: <!RECURSIVE_TYPEALIAS_EXPANSION!>ZB
|
||||
fun test() {
|
||||
Foo().foo {
|
||||
zbar {
|
||||
<!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>foo<!> {}
|
||||
<!NI;DEBUG_INFO_MISSING_UNRESOLVED, OI;DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>foo<!> {}
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -41,7 +41,7 @@ fun test() {
|
||||
baz {
|
||||
y()
|
||||
|
||||
<!FUNCTION_EXPECTED, NI;DEBUG_INFO_UNRESOLVED_WITH_TARGET, UNRESOLVED_REFERENCE_WRONG_RECEIVER!>x<!>()
|
||||
<!FUNCTION_EXPECTED, UNRESOLVED_REFERENCE_WRONG_RECEIVER!>x<!>()
|
||||
|
||||
with(D()) {
|
||||
x()
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ fun test() {
|
||||
baz {
|
||||
y()
|
||||
|
||||
<!FUNCTION_EXPECTED, NI;DEBUG_INFO_UNRESOLVED_WITH_TARGET, UNRESOLVED_REFERENCE_WRONG_RECEIVER!>x<!>()
|
||||
<!FUNCTION_EXPECTED, UNRESOLVED_REFERENCE_WRONG_RECEIVER!>x<!>()
|
||||
|
||||
with(D()) {
|
||||
x()
|
||||
|
||||
Reference in New Issue
Block a user