9 lines
112 B
Kotlin
Vendored
9 lines
112 B
Kotlin
Vendored
// "Add 'is' before 'Foo'" "true"
|
|
|
|
class Foo
|
|
|
|
fun test(a: Any) {
|
|
when (a) {
|
|
<caret>Foo -> {}
|
|
}
|
|
} |