Skip to content

Commit 1e484e5

Browse files
authored
Merge pull request #12230 from dotty-staging/silence-dottydoc-variables
Scaladoc: silence undefined variable msgs
2 parents 73bb6c7 + 1555eeb commit 1e484e5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scaladoc/src/dotty/tools/scaladoc/tasty/comments/CommentExpander.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,9 @@ class CommentExpander {
259259
case vname =>
260260
lookupVariable(vname, site) match {
261261
case Some(replacement) => replaceWith(replacement)
262-
case None => ;
263-
println(s"Variable $vname undefined in comment for $sym in $site")
262+
case None =>
263+
// TODO add a CLI setting for enabling this message
264+
// println(s"Variable $vname undefined in comment for $sym in $site")
264265
}
265266
}
266267
}

0 commit comments

Comments
 (0)