summaryrefslogtreecommitdiff
path: root/plugins/kotlin/completion/tests/testData/handlers/basic/UnstableSmartCast_typeAlias.kt.after
blob: 041f95f54307a4b56d008a4dab433895b146906a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// FIR_IDENTICAL
// FIR_COMPARISON
typealias MyList<T> = List<T>

fun test(p: Pair<Any, Any>) {
    if (p.first is MyList<*>) {
        p.first.size<caret>
    }
}

// ELEMENT: length