kirillrakhman
05/06/2016, 1:45 PMclass Foo {
fun Foo.doStuff() {}
}
fun bar() {
val a = Foo::doStuff
}
I'm not sure if it has any applications, but currently there's no way at all to create a reference to doStuff
kirillrakhman
05/06/2016, 1:47 PMFoo
. It may make sense to implement this as part of the KEEP.orangy
orangy
kirillrakhman
05/06/2016, 1:49 PMkirillrakhman
05/06/2016, 1:49 PMkirillrakhman
05/06/2016, 1:50 PMudalov
kirillrakhman
05/06/2016, 2:00 PMdoStuff
after all? The answer is, I need to bind two receivers instead of one. This leads to the question, wether or not this is a desirable feature and what the syntax for it might bekirillrakhman
05/06/2016, 2:02 PMorangy
doStuff
above, what if I do fooInstance::doStuff
and then I could call it with anotherFooInstance.boundRef()
kirillrakhman
05/06/2016, 2:04 PMdmitry.petrov
05/10/2016, 9:24 AMcfleming
05/10/2016, 9:32 AMcfleming
05/10/2016, 9:33 AMdmitry.petrov
05/10/2016, 9:35 AMcfleming
05/10/2016, 9:35 AMdmitry.petrov
05/10/2016, 9:37 AMdmitry.petrov
05/10/2016, 9:38 AMcfleming
05/10/2016, 9:38 AMorangy
constructorParameterIndex
and direct typed access to copy
method for data classes via KProperty. /cc @udalovjkbbwr
05/10/2016, 1:52 PMloganj
05/10/2016, 1:53 PMjkbbwr
05/10/2016, 1:54 PMjkbbwr
05/10/2016, 1:54 PMprimative = Int | String | Boolean
yole
05/10/2016, 2:03 PMilya.gorbunov
05/10/2016, 2:43 PMdamian
05/10/2016, 2:57 PM(String | Int | Boolean) -> Unit
type situationvoddan
05/10/2016, 3:05 PMeddie
05/10/2016, 3:20 PM