13 lines
250 B
Kotlin
Vendored
13 lines
250 B
Kotlin
Vendored
class First(val member: Int)
|
|
|
|
class Second {
|
|
val list = listOf(1, 2, 3, "")
|
|
|
|
val data = First(42)
|
|
|
|
val test = with(data) {
|
|
list.filterIsInstance<Int>().filter {
|
|
it == <!UNRESOLVED_REFERENCE!>member<!>
|
|
}
|
|
}
|
|
} |