6 lines
136 B
Kotlin
Vendored
6 lines
136 B
Kotlin
Vendored
// HIGHLIGHT: INFORMATION
|
|
class My(val x: Int)
|
|
|
|
fun foo(arg: Any?): Int? {
|
|
return i<caret>f (arg is My) arg.x.hashCode() else null
|
|
} |