Fixing a critical bug! The following code was broken (although we did have a TODO dating back to sometime last year)

  @ImplementedBy(RealFoo.class)
  interface Foo {}

  Module fooModule = new AbstractModule() {
    public void configure() {
      bind(Foo.class).in(Scopes.SINGLETON);
    }
  }

The problem was we had a TODO to support scopes on @ProvidedBy and @ImplementedBy that wasn't actually done. This is now fixed. I'm surprised we didn't catch this earlier.

git-svn-id: https://google-guice.googlecode.com/svn/trunk@594 d779f126-a31b-0410-b53b-1d3aecad763e
4 files changed