Join Slack
Powered by
Hi, why can't we create Composable with lambda ref...
# compose
a
Ayfri
07/18/2021, 9:15 PM
Hi, why can't we create Composable with lambda references I mean
::MyComponent
, I tried to use it in
myArray.forEach(::MyComponent)
but it throws an error 🤔
a
Adam Powell
07/18/2021, 9:21 PM
Temporary limitation of the compiler plugin; write it
myArray.forEach { MyComponent(it) }
for now
Open in Slack
Previous
Next