mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
#KTIJ-28592 Fixed GitOrigin-RevId: 4530af4e59e621d9feb8f1100cdb709a3ff1b0e1
11 lines
300 B
Kotlin
11 lines
300 B
Kotlin
// "Add remaining branches" "false"
|
|
// ACTION: Enable option 'Local variable types' for 'Types' inlay hints
|
|
// WITH_STDLIB
|
|
// ERROR: 'when' expression must be exhaustive, add necessary 'is B' branch or 'else' branch instead
|
|
|
|
sealed class A
|
|
class B : A()
|
|
|
|
fun test(a: A) {
|
|
val i = w<caret>hen (a) {
|