-
-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Imagine this example:
interface Interface1 {
fun string(): String
}
interface Interface2 : Interface1 {
override fun string(): String = "abc"
}
@Component
abstract class MyComponent1 : Interface1, Interface2
This fails with:
Cannot find an @Inject constructor or provider for: String
But if I change the order of the super types to the following, then the code compiles successfully:
@Component
abstract class MyComponent1 : Interface2, Interface1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working