aspakh / google-gin

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

Typo in FAQ #154

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open http://code.google.com/p/google-gin/wiki/GinFaq
2. Locate "What bindings don't work?"

What is the expected output? What do you see instead?
I see a statement "... because the provider does not exist at run-time". I 
guess it is supposed to be "... because the provider does not exist at 
compile-time".
If I'm wrong, it would be useful to know why, for better understanding of how 
Gin works.

Original issue reported on code.google.com by lazerka@google.com on 19 May 2011 at 11:17

GoogleCodeExporter commented 8 years ago
The documentation is actually correct, although sparse. During the GWT 
compilation process (not javac), Gin executes each module's configure method to 
determine the bindings. During GWT runtime (in javascript or hosted mode), the 
configure method is never executed and the provider instance is never created. 
Therefore it is not available at runtime.

Original comment by aragos on 19 Jul 2011 at 5:18