FIR: Fix type alias case for callable reference resolution type
This commit is contained in:
committed by
TeamCityServer
parent
a29dfb3b48
commit
37b5237e97
@@ -0,0 +1,16 @@
|
||||
// FIR_IDENTICAL
|
||||
// SKIP_TXT
|
||||
|
||||
typealias MPair<K> = Pair<K, Int>
|
||||
typealias TextWithOffset = MPair<String>
|
||||
|
||||
fun foo(c: Collection<TextWithOffset>) {
|
||||
val a1 = c.map(TextWithOffset::first)
|
||||
a1[0].length
|
||||
|
||||
val a2 = c.map(MPair<String>::first)
|
||||
a2[0].length
|
||||
|
||||
val a3 = c.map(Pair<String, Int>::first)
|
||||
a3[0].length
|
||||
}
|
||||
Reference in New Issue
Block a user