clutz icon indicating copy to clipboard operation
clutz copied to clipboard

Skip emitting provided inner classes redundantly in `processUnprovidedTypes()`

Open teppeis opened this issue 6 years ago • 0 comments

Fix for https://github.com/angular/clutz/pull/822

If an inner class has a non-class-like prop (ex. enum) and the prop is referenced from other jsdoc, the prop is emitted duplicately each time it is referred.

There are the examples in closure-library:

Also added a test case for goog.debug.Trace that has a special structure related this handling.

teppeis avatar Jan 20 '19 12:01 teppeis