Closed GoogleCodeExporter closed 9 years ago
To emphasize this is important, here are other issues that are essentially the
same as this one -- fixing the documentation would have prevented these issues
from being filed.
Issues 335, 401, 555, 340, 493, 381
Also related: 266, 179
Original comment by neum...@gmail.com
on 2 Jun 2013 at 8:17
Hi, this is two years late, but I'm working on mitigating confusion on this
issue.
The thing to note here is that it's not always necessary to include deps.js in
your compilation. It's only necessary when you happen to be using a Closure
library that references a type that is not goog.require'd in the file. This can
happen when a file references a particular type in annotations in comments
(e.g., @type {Foo}), but never actually uses the type directly (e.g., invoking
via "new" or referencing its statics). For an explanation on why we do this see
the thread you referenced:
https://code.google.com/p/closure-library/issues/detail?id=401.
Anyway, I'm going to work on documenting this issue better as I do think it's
quite confusing, but I'm moving this issue to
https://github.com/google/closure-library/issues/54 as the canonical version.
Feel free to comment there.
Original comment by joelt...@google.com
on 7 Aug 2015 at 6:09
Original issue reported on code.google.com by
neum...@gmail.com
on 2 Jun 2013 at 7:25