Using Kotlin `1.9.20-Beta` now and getting further...
# k2-adopters
j
Using Kotlin
1.9.20-Beta
now and getting further....next issue we're seeing is
Named arguments are not allowed for function types
this is example of what it's complaining about (with
content
being lambda passed in to composable function)
Copy code
content(
        isSelected = activeChild is HomeComponent.Child.Speakers,
        selectedIcon = Icons.Filled.Person,
        unselectedIcon = Icons.Outlined.Person,
        textId = R.string.speakers,
        onClick = component::onSpeakersTabClicked,
    )
y
support for named arguments for Composable lambda is deprecated https://developer.android.com/jetpack/androidx/releases/compose-compiler#1.5.0
k
I'm not seeing a named argument in the example above, though.
j
sorry, my bad, I copied the code after I changed it to remove them 😃
just edited it to show as it was....btw after changing those we were able to get full project now to build with k2
🎉 2