aboutsummaryrefslogtreecommitdiff
path: root/dottydoc/jvm/src/dotty/tools/dottydoc/util/mutate.scala
diff options
context:
space:
mode:
Diffstat (limited to 'dottydoc/jvm/src/dotty/tools/dottydoc/util/mutate.scala')
-rw-r--r--dottydoc/jvm/src/dotty/tools/dottydoc/util/mutate.scala7
1 files changed, 6 insertions, 1 deletions
diff --git a/dottydoc/jvm/src/dotty/tools/dottydoc/util/mutate.scala b/dottydoc/jvm/src/dotty/tools/dottydoc/util/mutate.scala
index e6f1e6245..4ce94459d 100644
--- a/dottydoc/jvm/src/dotty/tools/dottydoc/util/mutate.scala
+++ b/dottydoc/jvm/src/dotty/tools/dottydoc/util/mutate.scala
@@ -4,7 +4,7 @@ package internal
object setters {
import model._
- import comment.{ Comment, MaterializableLink, Reference }
+ import comment.{ Comment, MaterializableLink, Reference, NamedReference }
import internal._
def setComment(ent: Entity, to: Option[Comment]) = ent match {
@@ -24,6 +24,11 @@ object setters {
case _ => ()
}
+ def setParamLists(ent: Entity, refs: List[List[NamedReference]]) = ent match {
+ case x: DefImpl => x.paramLists = refs
+ case _ => ()
+ }
+
def setParent(ent: Entity, to: Entity): Unit = ent match {
case e: ClassImpl =>
e.parent = to