[FIR] Implement capturing of cone types same as for kotlin types

This commit is contained in:
Dmitriy Novozhilov
2021-02-03 11:44:55 +03:00
parent 5ce36a528e
commit 373bc578fb
9 changed files with 243 additions and 73 deletions
@@ -7,4 +7,4 @@ class A<T>
fun <T1> A<T1>.foo() = X1
fun <T2> A<out T2>.foo() = X2
fun <T> A<out T>.test() = foo() // TODO fix constraint system
fun <T> A<out T>.test() = <!AMBIGUITY!>foo<!>() // TODO fix constraint system