Comment #4 on issue 469 by sberlin: annotatedWith() should record an error, not throw.
http://code.google.com/p/google-guice/issues/detail?id=469

Patch looks good, but its creates some strange inconsistent behavior that if you attempt to bind an annotation using bind(..).annotatedWith(..), the error is kept & reported at the end, but if you do it using bind(Key.get(Class, Annotation)), the error immediately throws. It would be good to keep those two consistent, I think.

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

Reply via email to