title: Koin Scope and Interface
body: <p>I am using <a href="https://insert-koin.io/" rel="noreferrer"><strong>Koin</strong></a> di library in my project. Version of lib is <strong>1.0.0-RC-1</strong>. </p>
  
  <p>My <strong>module</strong>:</p>
  
  <pre><code>val appModule = module {
      scope("UserScope") { UserToaster(androidContext()) as Toaster }
      scope("AnonScope") { AnonToaster(androidContext()) as Toaster }
  }
  </code></pre>
  
  <p>I started koin in my <strong>Application</strong> class and created <strong>scope</strong>:</p>
  
  <pre><code>override fun onCreate() {
      super.onCreate()
  
      startKoin(this, listOf(appModule))
      getKoin().getOrCreateScope("AnonScope")
  }
  </code></pre>
  
  <p>And next I tried to inject implementation of <strong>Toaster</strong> from current scope to variable in Activity. Here the code:</p>
  
  <pre><code>private val toaster: Toaster by inject(scope = "AnonScope")
  </code></pre>
  
  <p>After this I got an error:</p>
  
  <pre><code>Caused by: org.koin.error.DependencyResolutionException: Multiple definitions found for type 'interface com.example.nkirilov.playground.Toaster (Kotlin reflection is not available)' - Koin can't choose between :
      Scope [name='UserScope',class='com.example.nkirilov.playground.Toaster']
      Scope [name='AnonScope',class='com.example.nkirilov.playground.Toaster']
      Check your modules definition, use inner modules visibility or definition names.
  </code></pre>
  
  <p>I do not understand why this does not work (If use <strong>single</strong> with different names - it will work). Is that koin bug? How to avoid this error? </p>