631f58f27f
Reference receivers are named more accurately now #KT-13341 Fixed
11 lines
180 B
Plaintext
Vendored
11 lines
180 B
Plaintext
Vendored
// WITH_RUNTIME
|
|
|
|
class Foo {
|
|
companion object {
|
|
fun create(x: String): Foo = Foo()
|
|
}
|
|
}
|
|
|
|
fun main(args: Array<String>) {
|
|
listOf("a").map(Foo.Companion::create)
|
|
} |