two questions after playing with 1.1 EAP for a whi...
# language-proposals
d
two questions after playing with 1.1 EAP for a while: 1. Is there a possibility that we'll have simpler syntax for references to companion object functions? e.g.
Copy code
class MyClass(...) {
  companion object {
    fun parse(input: String): MyClass { ... }
  }
}
I've found
someInputSequence.map(MyClass.Companion::parse)
to be more annoying than just
someInputSequence.map { MyClass.parse(it) }
. Something like (strawman syntax)
someInputSequence.map(MyClass:::parse)
?