Skip to content

Commit d62c96c

Browse files
committed
Add transparent modifier
1 parent 4ddd8eb commit d62c96c

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

scaladoc-testcases/src/tests/hugetype.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import scala.annotation.experimental
66

77
/**
88
* type
9+
*
910
* noun
1011
*
1112
* a particular group of people or things that share similar characteristics and form a smaller division of a larger set:

scaladoc/resources/dotty_res/styles/scalastyle.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ footer .mode {
648648
display: table;
649649
}
650650

651-
.expand.documentableElement>div {
651+
.documentableElement>div {
652652
display: block;
653653
}
654654

@@ -664,7 +664,7 @@ footer .mode {
664664
display: block;
665665
}
666666

667-
.expand .doc {
667+
.doc {
668668
margin-left: 6.5em;
669669
}
670670

scaladoc/src/dotty/tools/scaladoc/api.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ enum Modifier(val name: String, val prefix: Boolean):
4040
case Erased extends Modifier("erased", true)
4141
case Opaque extends Modifier("opaque", true)
4242
case Open extends Modifier("open", true)
43+
case Transparent extends Modifier("transparent", true)
4344

4445
case class ExtensionTarget(name: String, typeParams: Seq[TypeParameter], argsLists: Seq[ParametersList], signature: Signature, dri: DRI, position: Long)
4546
case class ImplicitConversion(from: DRI, to: DRI)

scaladoc/src/dotty/tools/scaladoc/tasty/SymOps.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ object SymOps:
8888
Flags.Open -> Modifier.Open,
8989
Flags.Override -> Modifier.Override,
9090
Flags.Case -> Modifier.Case,
91+
Flags.Transparent -> Modifier.Transparent,
9192
).collect { case (flag, mod) if sym.flags.is(flag) => mod }
9293

9394
def isHiddenByVisibility(using dctx: DocContext): Boolean =

0 commit comments

Comments
 (0)