mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
11 lines
157 B
Kotlin
Vendored
11 lines
157 B
Kotlin
Vendored
// "Create member function 'A.Companion.foo'" "true"
|
|
|
|
class A<T>(val n: T) {
|
|
companion object {
|
|
|
|
}
|
|
}
|
|
|
|
fun test() {
|
|
val a: Int = A.<caret>foo(2)
|
|
} |