Skip to content

Commit 1555eeb

Browse files
committed
Scaladoc: silence undefined variable msgs
1 parent 831b062 commit 1555eeb

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)