title: Why @Named dependency is ignored?
body: <p>I have a module that provides <code>Boolean</code> value:</p>
  
  <pre><code>@Module
  class TestModule(private val isTesting: Boolean = false) {
  
      @Provides
      @Singleton
      @Named(nameIsTesting)
      fun provideIsTesting(): Boolean = isTesting
  
      // Companion
      companion object {
          const val nameIsTesting = "is_testing"
      }
  
  }
  </code></pre>
  
  <p><code>AppComponent</code>:</p>
  
  <pre><code>@Component(modules = [AppModule::class, TestModule::class])
  @Singleton
  interface AppComponent {
  
      @Named(TestModule.nameIsTesting)
      val isTesting: Boolean
  
      // ...
  }
  </code></pre>
  
  <p>And build fails:</p>
  
  <pre><code>[Dagger/MissingBinding] java.lang.Boolean cannot be provided without an @Inject constructor or an @Provides-annotated method.
  public abstract interface AppComponent {
                  ^
        java.lang.Boolean is provided at
            com.app.app.di.component.AppComponent.isTesting()
  </code></pre>
  
  <p>It works for other dependencies, but not for this one. Why?</p>