test data fixed

ignore error types in resolving constraints for generic functions
'if' is resolved as special function
This commit is contained in:
Svetlana Isakova
2013-09-02 19:22:55 +04:00
parent 335e0d7d1b
commit efda014109
@@ -17,7 +17,7 @@ fun foo() {
fun bar(i: Int, a: <!UNRESOLVED_REFERENCE!>U<!>) {
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