pombreda / google-guice

Automatically exported from code.google.com/p/google-guice
Apache License 2.0
0 stars 1 forks source link

Modules.override() doesn't pass the right stage to the sub-modules #784

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Description of the issue:

When using Modules.override(), currentStage() will return DEVELOPMENT in all 
sub-modules, regardless of the stage passed to Guice.createInjector().

A patch against current HEAD is attached, including a new test.

Original issue reported on code.google.com by tavianator@gmail.com on 29 Nov 2013 at 1:06

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by sberlin on 6 Dec 2013 at 10:52