blob: d6570bf44dd3ac0312a627a9409c2c28b1f2f17c [file]
fun <F : CharSequence> F.bar() {
}
inline fun <reified T : CharSequence> test_1(x: Any) {
when {
x is T -> { // BLOCK
x /*as T */.bar<T>()
}
}
}
fun test_2(x: Any?) {
when {
x is CharSequence -> { // BLOCK
x /*as CharSequence */.bar<CharSequence>()
}
}
}