lightsaber icon indicating copy to clipboard operation
lightsaber copied to clipboard

@ProvidedAs/@Provided by on inner class leads to crash

Open satween opened this issue 3 years ago • 0 comments

Example code :

@Contract
interface AppContract

class AppContractConfiguration : ContractConfiguration<AppContract>()

interface SomeValidInterface
class Outer {
  @ProvidedAs(SomeValidInterface::class)
  @ProvidedBy(AppContractConfiguration::class)
  inner class Dependency @Inject constructor() : SomeValidInterface
}

satween avatar Aug 11 '22 13:08 satween