diff options
Diffstat (limited to 'dottydoc/jvm/src')
-rw-r--r-- | dottydoc/jvm/src/dotty/tools/dottydoc/core/TypeLinkingPhases.scala | 2 | ||||
-rw-r--r-- | dottydoc/jvm/src/dotty/tools/dottydoc/model/json.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dottydoc/jvm/src/dotty/tools/dottydoc/core/TypeLinkingPhases.scala b/dottydoc/jvm/src/dotty/tools/dottydoc/core/TypeLinkingPhases.scala index a6d474c8f..d05d1acbd 100644 --- a/dottydoc/jvm/src/dotty/tools/dottydoc/core/TypeLinkingPhases.scala +++ b/dottydoc/jvm/src/dotty/tools/dottydoc/core/TypeLinkingPhases.scala @@ -57,7 +57,7 @@ trait TypeLinker extends MemberLookup { rv.copy(left = linkReference(ent, left, packs), right = linkReference(ent, right, packs)) case rv @ AndTypeReference(left, right) => rv.copy(left = linkReference(ent, left, packs), right = linkReference(ent, right, packs)) - case rv @ NamedReference(_, ref, _) => rv.copy(ref = linkReference(ent, ref, packs)) + case rv @ NamedReference(_, ref, _, _) => rv.copy(ref = linkReference(ent, ref, packs)) case _ => rv } } diff --git a/dottydoc/jvm/src/dotty/tools/dottydoc/model/json.scala b/dottydoc/jvm/src/dotty/tools/dottydoc/model/json.scala index 52bb9d36c..3618d325f 100644 --- a/dottydoc/jvm/src/dotty/tools/dottydoc/model/json.scala +++ b/dottydoc/jvm/src/dotty/tools/dottydoc/model/json.scala @@ -49,7 +49,7 @@ object json { case ref: BoundsReference => s"""{"low":${refToJson(ref.low)},"high":${refToJson(ref.high)},"kind":"BoundsReference"}""" case ref: NamedReference => - s"""{"title":${ref.title.json},"ref":${refToJson(ref.ref)},"isByName":${ref.isByName.json},"kind":"NamedReference"}""" + s"""{"title":${ref.title.json},"ref":${refToJson(ref.ref)},"isByName":${ref.isByName.json},"isRepeated":${ref.isRepeated.json},"kind":"NamedReference"}""" case ref: ConstantReference => s"""{"title":${ref.title.json},"kind": "ConstantReference"}""" case ref: FunctionReference => |