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
{{ message }}
This repository was archived by the owner on Aug 20, 2025. It is now read-only.
dagger-compiler allows circular module dependencies(which is wrong, should be an error), while dagger-reflect hangs forever while trying to build Component with such modules.
Reproduce:
package test
@dagger.Component(modules = [Module1::class])
interface Component
@dagger.Module(includes = [Module2::class])
abstract class Module1
@dagger.Module(includes = [Module1::class])
abstract class Module2
class Test {
@org.junit.Test
fun test() {
//dagger-compiler is silent on circular dependencies
// DaggerComponent.create()
//dagger-reflect hangs on infinite loop
dagger.Dagger.create(test.Component::class.java)
}
}