mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
KTIJ-30496 GitOrigin-RevId: 4e33efd8dc48ca0f51fddd95d3b70d7df4a82a60
18 lines
591 B
Plaintext
18 lines
591 B
Plaintext
// "Add remaining branches" "true"
|
|
// ERROR: Unresolved reference: TODO
|
|
// ERROR: Unresolved reference: TODO
|
|
|
|
sealed class Base<U, V, W> {
|
|
fun foo(it: Base<U, V, W>) {
|
|
when (it) {
|
|
is Derived -> TODO()
|
|
is Generic<*, *> -> TODO()
|
|
}
|
|
}
|
|
}
|
|
|
|
class Derived<U, V>: Base<U, V, Int>()
|
|
class Generic<V, T>: Base<Int, V, String>()
|
|
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix |