FIR: Correct capturing for type-alias bases arguments

NB: The test data change at testData/diagnostics/tests/typealias/noApproximationInTypeAliasArgumentSubstitution.fir.kt
is correct: see the relevant non-fir test, the call shouldn't be applicable

^KT-39008 Fixed
This commit is contained in:
Denis Zharkov
2020-06-10 13:20:25 +03:00
parent bea37569e6
commit 293f78efe8
6 changed files with 41 additions and 2 deletions
@@ -14,4 +14,4 @@ typealias TMap<T> = Map<T, T>
fun <T> foo2(m: TMap<T>) = m
fun bar2(m: TMap<*>) =
foo2(m)
<!INAPPLICABLE_CANDIDATE!>foo2<!>(m)