Index: utils/dartdoc/dartdoc.dart |
diff --git a/utils/dartdoc/dartdoc.dart b/utils/dartdoc/dartdoc.dart |
index 2eb9ec34b1440360d223604c0c554cd8bca18c16..18b15bdfb2c0f3bc4af0cd150b6f464ba483fcba 100644 |
--- a/utils/dartdoc/dartdoc.dart |
+++ b/utils/dartdoc/dartdoc.dart |
@@ -626,7 +626,8 @@ linkToType(Type enclosingType, Type type) { |
} |
// Link to the type. |
- write(a(typeUrl(type), type.name)); |
+ // Use .genericType to avoid writing the <...> here. |
+ write(a(typeUrl(type), type.genericType.name)); |
// See if it's a generic type. |
if (type.isGeneric) { |