diff options
Diffstat (limited to 'doc-tool/src/dotty/tools/dottydoc/util/mutate.scala')
-rw-r--r-- | doc-tool/src/dotty/tools/dottydoc/util/mutate.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc-tool/src/dotty/tools/dottydoc/util/mutate.scala b/doc-tool/src/dotty/tools/dottydoc/util/mutate.scala index 739a1e19d..4633bf257 100644 --- a/doc-tool/src/dotty/tools/dottydoc/util/mutate.scala +++ b/doc-tool/src/dotty/tools/dottydoc/util/mutate.scala @@ -16,9 +16,13 @@ object setters { case x: ObjectImpl => x.comment = to case x: DefImpl => x.comment = to case x: ValImpl => x.comment = to + case x: TypeAliasImpl => x.comment = to } def setParent(ent: Entity, to: Entity): Unit = ent match { + case e: PackageImpl => + e.parent = to + e.members.foreach(setParent(_, e)) case e: ClassImpl => e.parent = to e.members.foreach(setParent(_, e)) |