bbaldino11/06/2019, 8:18 PM
Ruckus11/06/2019, 8:25 PM
bbaldino11/06/2019, 8:27 PM
karelpeeters11/07/2019, 12:25 AM
so I'm not sure i understand the question?
class Foo fun fooFactory(): () -> Foo = ::Foo
bbaldino11/07/2019, 3:59 AM
SiebelsTim11/07/2019, 6:36 AM
bbaldino11/07/2019, 6:39 AM
fun<T : Any> blah(): () -> Parent<T> = ::Child as () -> Parent<T>
marstran11/07/2019, 6:55 AM
is anything else than
. Why do you even need
, when all you do is call the child constructor?
fun blah(): () -> Parent<Boolean> = ::Child
bbaldino11/07/2019, 6:58 AM