25 lines
264 B
Kotlin
Vendored
25 lines
264 B
Kotlin
Vendored
fun foo() {
|
|
when (e) {
|
|
}
|
|
when (e) {
|
|
is -> foo
|
|
!is -> foo
|
|
in -> foo
|
|
!in -> foo
|
|
-> foo
|
|
else
|
|
}
|
|
when (e) {
|
|
is ->
|
|
!is ->
|
|
in ->
|
|
!in ->
|
|
!in -> ;
|
|
->
|
|
else
|
|
else ->
|
|
}
|
|
when (e) {
|
|
- -> foo
|
|
}
|
|
} |