evant / kotlin-inject

Dependency injection lib for kotlin
Apache License 2.0
1.29k stars 60 forks source link

Implementations not generated for abstract properties if Component superclass is a typealias #443

Open eygraber opened 2 months ago

eygraber commented 2 months ago
@Inject class Foo

interface FooComponent {
  val foo: Foo
}

typealias FooComponentTypealias = FooComponent

@Component
abstract class RealFooComponent : FooComponentTypealias

causes error:

Class 'InjectRealFooComponent' is not abstract and does not implement abstract member 'foo'.