33e6a85a2d
We exclude testData pattern from copyright scope
12 lines
193 B
Kotlin
Vendored
12 lines
193 B
Kotlin
Vendored
interface Foo {}
|
|
interface Bar {}
|
|
|
|
fun test(obj: Any) {
|
|
if (obj is Foo) {
|
|
if (obj is Bar) {
|
|
<expr>obj.consume(obj)</expr>
|
|
}
|
|
}
|
|
}
|
|
|
|
fun Bar.consume(obj: Foo) {} |