Drop "substitute with upper bounds" mode for calls with mapped arguments

(we don't need it since we build constraint system for generic types).
Cleanup tests.
This commit is contained in:
Dmitry Petrov
2015-12-29 18:07:15 +03:00
parent 4b3290dd8c
commit 74c13906ed
5 changed files with 26 additions and 36 deletions
@@ -6,4 +6,4 @@ class A<T>
fun <T1> A<T1>.foo() = X1
fun <T2> A<out T2>.foo() = X2
fun <T> A<out T>.test() = <!CANNOT_COMPLETE_RESOLVE!>foo<!>()
fun <T> A<out T>.test() = <!CANNOT_COMPLETE_RESOLVE!>foo<!>() // TODO fix constraint system