// IGNORE_FE10

// MODULE: dependency1
// MODULE_KIND: Source
// FILE: StringAlias.kt
package dependency1

typealias StringAlias = String

// MODULE: dependency2
// MODULE_KIND: Source
// FILE: ListAlias.kt
package dependency2

typealias ListAlias<A> = List<A>

// MODULE: dependency3(dependency1, dependency2)
// MODULE_KIND: Source
// FILE: MyInterface.kt
package dependency3

import dependency1.*
import dependency2.*

interface MyInterface {
    fun check(list: ListAlias<StringAlias>)
}

// MODULE: main(dependency3, dependency2)
// FILE: main.kt
package main

import dependency3.*

fun checkTypeAlias(m: MyInterface) {
    m.c<caret>heck(emptyList())
}
