From efda0141091c3d3f38f92726c04644a30cbbb3d7 Mon Sep 17 00:00:00 2001 From: Svetlana Isakova Date: Mon, 2 Sep 2013 19:22:55 +0400 Subject: [PATCH] test data fixed ignore error types in resolving constraints for generic functions 'if' is resolved as special function --- .../diagnostics/tests/incompleteCode/SupertypeOfErrorType.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/testData/diagnostics/tests/incompleteCode/SupertypeOfErrorType.kt b/compiler/testData/diagnostics/tests/incompleteCode/SupertypeOfErrorType.kt index 9825f1375f2..29e1b112e3f 100644 --- a/compiler/testData/diagnostics/tests/incompleteCode/SupertypeOfErrorType.kt +++ b/compiler/testData/diagnostics/tests/incompleteCode/SupertypeOfErrorType.kt @@ -17,7 +17,7 @@ fun foo() { fun bar(i: Int, a: U) { val r = if (true) i else a - val b: Any = r + val b: Any = r } //from standard library