[FIR] Expand typealiases in OverloadConflictResolver

^KT-52825 Fixed
This commit is contained in:
Dmitriy Novozhilov
2022-06-20 17:18:47 +03:00
committed by teamcity
parent b73783b693
commit eb453dc96b
7 changed files with 47 additions and 4 deletions
@@ -0,0 +1,11 @@
// FIR_IDENTICAL
// ISSUE: KT-52825
typealias LLL = Long
fun foo(a: Int, b: Int) {}
fun foo(a: LLL, b: LLL) {}
fun test() {
foo(0, 0)
}
@@ -0,0 +1,6 @@
package
public fun foo(/*0*/ a: LLL /* = kotlin.Long */, /*1*/ b: LLL /* = kotlin.Long */): kotlin.Unit
public fun foo(/*0*/ a: kotlin.Int, /*1*/ b: kotlin.Int): kotlin.Unit
public fun test(): kotlin.Unit
public typealias LLL = kotlin.Long