Show upper bound of type parameter in generic in dartdoc-next (e.g. Point<T extends num> instead of Point<T>) #16294
Labels
area-pkg
Used for miscellaneous pkg/ packages not associated with specific area- teams.
This issue was originally filed by yu.as...@gmail.com
In dartdoc-next, the upper bound (“extends” clause) of a type parameter in a generic is not shown. For example, https://dartdoc-next-dot-dartlang-api.appspot.com/apidocs/channels/stable/#dart-math.Point shows just “Point<T>”, and does not seem to contain the information that T should be a subtype of num. It is better to show “Point<T extends num>” at the beginning like the current API documentation at https://api.dartlang.org/docs/channels/stable/latest/dart_math/Point.html.
The text was updated successfully, but these errors were encountered: