Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lambda types issue #2

Closed
IlyaGulya opened this issue Jul 22, 2024 · 1 comment
Closed

Lambda types issue #2

IlyaGulya opened this issue Jul 22, 2024 · 1 comment

Comments

@IlyaGulya
Copy link
Owner

@ContributesAssistedFactory(AppGraph::class, DeviceCategoriesComponent.Factory::class)
class DeviceCategoriesComponentImpl @AssistedInject constructor(
    @Assisted private val onBackClicked: () -> Unit,
    @Assisted private val onCategoryClicked: (categoryId: Long) -> Unit,
)

leads to

e: [ksp] /runner/_work/Flipper-Android-App/Flipper-Android-App/components/remote-controls/categories/impl/src/main/kotlin/com/flipperdevices/remotecontrols/impl/categories/presentation/decompose/DeviceCategoriesComponent.kt:26: The factory method parameter 'onBackClicked' does not match any @Assisted parameter in the primary constructor of 'DeviceCategoriesComponentImpl'
@IlyaGulya
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant