We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c53c115 commit a1c73e9Copy full SHA for a1c73e9
dottydoc/js/src/html/Member.scala
@@ -117,7 +117,15 @@ trait MemberLayout {
117
ref.kind match {
118
case "TypeReference" =>
119
val tref = ref.asInstanceOf[TypeReference]
120
- if (tref.paramLinks.nonEmpty) span(
+ val infixTypes = "<:<" :: "=:=" :: Nil
121
+ if (tref.paramLinks.length == 2 && infixTypes.contains(tref.title)) span(
122
+ referenceToLinks(tref.paramLinks(0)),
123
+ span(cls := "type-separator no-left-margin"),
124
+ linkToAnchor(tref.tpeLink),
125
126
+ referenceToLinks(tref.paramLinks(1))
127
+ ).render
128
+ else if (tref.paramLinks.nonEmpty) span(
129
linkToAnchor(tref.tpeLink),
130
"[",
131
tref
0 commit comments