NI: don't collect members if a receiver type is StubType to avoid creating error candidates instead of not crating them at all

^KT-37717 Fixed
This commit is contained in:
Victor Petukhov
2020-07-06 11:06:34 +03:00
parent 989e4293a3
commit eec3a4720c
11 changed files with 79 additions and 2 deletions
@@ -15,6 +15,6 @@ fun <KotlinType : Any> defineType(@BuilderInference definition: TypeDefinition<K
fun main() {
<!OI;TYPE_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>defineType<!> {
parse { it.toInt() }
serialize { <!OI;DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>it<!>.<!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>toString<!>() }
serialize { <!OI;DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>it<!>.<!OI;DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>toString<!>() }
}
}