File tree Expand file tree Collapse file tree 4 files changed +7
-8
lines changed
scaladoc/src/dotty/tools/scaladoc/tasty Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ trait TypesSupport:
7676 else inner(tpe) ++ plain(" ." ).l ++ suffix
7777 case tpe => inner(tpe)
7878
79- // TODO #23 add support for all types signatures that makes sense
79+ // TODO #23 add support for all types signatures that make sense
8080 private def inner (
8181 using Quotes ,
8282 )(
@@ -88,7 +88,7 @@ trait TypesSupport:
8888 ): SSignature =
8989 import reflect ._
9090 def noSupported (name : String ): SSignature =
91- println (s " WARN: Unsupported type: $name: ${tp.show}" )
91+ report.warning (s " Unsupported type: $name: ${tp.show}" )
9292 plain(s " Unsupported[ $name] " ).l
9393 tp match
9494 case OrType (left, right) =>
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ abstract class MarkupConversion[T](val repr: Repr)(using dctx: DocContext) {
112112 case None => sym.dri
113113 DocLink .ToDRI (dri, targetText)
114114 case None =>
115- val txt = s " No DRI found for query"
115+ val txt = s " Couldn't resolve a member for the given link query"
116116 val msg = s " $txt: $queryStr"
117117
118118 if (! summon[DocContext ].args.noLinkWarnings) then
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ trait MemberLookup {
3131 def nearestPackage (sym : Symbol ): Symbol =
3232 if sym.flags.is(Flags .Package ) then sym else nearestPackage(sym.owner)
3333
34- def nearestMembered (sym : Symbol ): Symbol =
35- if sym.isClassDef || sym.flags.is(Flags .Package ) then sym else nearestMembered (sym.owner)
34+ def nearestMember (sym : Symbol ): Symbol =
35+ if sym.isClassDef || sym.flags.is(Flags .Package ) then sym else nearestMember (sym.owner)
3636
3737 val res : Option [(Symbol , String , Option [Symbol ])] = {
3838 def toplevelLookup (querystrings : List [String ]) =
@@ -43,7 +43,7 @@ trait MemberLookup {
4343
4444 ownerOpt match {
4545 case Some (owner) =>
46- val nearest = nearestMembered (owner)
46+ val nearest = nearestMember (owner)
4747 val nearestCls = nearestClass(owner)
4848 val nearestPkg = nearestPackage(owner)
4949 def relativeLookup (querystrings : List [String ], owner : Symbol ): Option [(Symbol , Option [Symbol ])] = {
Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ import scala.collection.{Seq => _, _}
55// import representations._
66
77/** A body of text. A comment has a single body, which is composed of
8- * at least one block. Inside every body is exactly one summary (see
9- * [[scala.tools.nsc.doc.model.comment.Summary ]]). */
8+ * at least one block. Inside every body is exactly one summary. */
109final case class Body (blocks : Seq [Block ]) {
1110
1211 /** The summary text of the comment body. */
You can’t perform that action at this time.
0 commit comments