a

    Ayfri

    1 year ago
    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 🤔
    Adam Powell

    Adam Powell

    1 year ago
    Temporary limitation of the compiler plugin; write it
    myArray.forEach { MyComponent(it) }
    for now