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
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)
}
}
The text was updated successfully, but these errors were encountered:
dagger-compiler: 2.27
dagger-reflect: 0.2.0
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:
The text was updated successfully, but these errors were encountered: