Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.0.M5
-
None
-
None
Description
The following fails to load SubX instance into collection.
Module m1 = new Module() { public void configure(Binder binder) { binder.bind(X.class).to(X.class); binder.bindList(Object.class, "xyz").add(X.class); } }; Module m2 = new Module() { @Override public void configure(Binder binder) { binder.bind(X.class).to(SubX.class); } }; DIBootstrap.createInjector(m1, m2);