test data fixed
ignore error types in resolving constraints for generic functions 'if' is resolved as special function
This commit is contained in:
@@ -17,7 +17,7 @@ fun foo() {
|
|||||||
|
|
||||||
fun bar(i: Int, a: <!UNRESOLVED_REFERENCE!>U<!>) {
|
fun bar(i: Int, a: <!UNRESOLVED_REFERENCE!>U<!>) {
|
||||||
val r = if (true) i else <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>a<!>
|
val r = if (true) i else <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>a<!>
|
||||||
val <!UNUSED_VARIABLE!>b<!>: Any = <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>r<!>
|
val <!UNUSED_VARIABLE!>b<!>: Any = r
|
||||||
}
|
}
|
||||||
|
|
||||||
//from standard library
|
//from standard library
|
||||||
|
|||||||
Reference in New Issue
Block a user