mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 08:31:35 +00:00
16 lines
211 B
Kotlin
Vendored
16 lines
211 B
Kotlin
Vendored
// SIBLING:
|
|
class MyClass {
|
|
fun test(): Int {
|
|
<selection>coFun()
|
|
return coProp + 10</selection>
|
|
}
|
|
|
|
companion object {
|
|
val coProp = 1
|
|
|
|
fun coFun() {
|
|
|
|
}
|
|
}
|
|
}
|