Sounds good to me, too. So that would mean no support for *-imports in the first iteration? It would also mean that you would even have to import classes that are implicitly imported (same package or top-level package) to have all needed goog.require() statements generated, but I think that would be okay for the time being. You would only have to add imports that cause no trouble for "normal" compilation, so you can still have a single-source-multi-target code base. This is extremely important for testing that we implement the correct semantics.
On Fri, Dec 7, 2012 at 12:30 PM, Erik de Bruin <e...@ixsoftware.nl> wrote: > > Ok, understood but for now, I AM going to add the imports explicitly > > declared as a writer implemented method. After we get the code "looking" > > right we can worry about actual "implications" of what is written. > > Sounds like a plan. The way I understand the Closure Builder to work I > think it will clean out unused 'requires' anyway, pretty much like I > imagine the AS compilers clean out unused 'import'. Eventually we want > to write out only what we need, if only to reduce complexity and avoid > mistakes, but I agree that is not a priority at this time. > > EdB > > > > -- > Ix Multimedia Software > > Jan Luykenstraat 27 > 3521 VB Utrecht > > T. 06-51952295 > I. www.ixsoftware.nl >