Dmitry,

This is indeed a bug. I'm quite sorry about this! Apparently our code
that detects misplaced scopes doesn't fire errors when it's supposed
to. And the absence of an error means that the binding can be
"successfully" created in a parent injector. Oh dear.

I've implemented a fix and the corresponding tests.
  http://code.google.com/p/google-guice/source/detail?r=994

If you don't mind running from HEAD, you can crate a .jar that
contains the fix. I'm deeply sorry about this, if only because it's
the first tarnish in our shiny new 2.0 release. I suppose it  was
bound to happen eventually.

Cheers,
Jesse


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to