You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ksp] java.lang.IllegalStateException: KSType 'Foo<Bar, Baz>' has type arguments, which are not supported for ClassName conversion. Use KSType.toTypeName().
at com.squareup.kotlinpoet.ksp.KsTypesKt.toClassName(KsTypes.kt:44)
at software.amazon.lastmile.kotlin.inject.anvil.processor.ContributesBindingProcessor$GeneratedFunction.bindingMethodReturnType_delegate$lambda$0(ContributesBindingProcessor.kt:220)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:83)
at software.amazon.lastmile.kotlin.inject.anvil.processor.ContributesBindingProcessor$GeneratedFunction.getBindingMethodReturnType(ContributesBindingProcessor.kt:219)
at software.amazon.lastmile.kotlin.inject.anvil.processor.ContributesBindingProcessor.generateComponentInterface(ContributesBindingProcessor.kt:93)
at software.amazon.lastmile.kotlin.inject.anvil.processor.ContributesBindingProcessor.process(ContributesBindingProcessor.kt:72)
at software.amazon.lastmile.kotlin.inject.anvil.CompositeSymbolProcessor.process(CompositeSymbolProcessor.kt:17)
The text was updated successfully, but these errors were encountered:
If I have an interface with type parameters:
and I use
ContributesBinding
on a concrete implementation of it:I get the following crash:
The text was updated successfully, but these errors were encountered: