mg6maciej
05/02/2017, 8:10 AMfun x(aFunc: A.(file: File) -> Unit) = Unit
x { it.blah() }
should also this compile?
x(File::blah)
Ruckus
05/02/2017, 2:22 PMx
actually takes two params: the receiver (A
) and the file param, whereas File::blah
only takes one: the reciever (File
).