diff --git a/scaladoc/src/dotty/tools/scaladoc/tasty/comments/CommentExpander.scala b/scaladoc/src/dotty/tools/scaladoc/tasty/comments/CommentExpander.scala index 5f414133923d..f530dc655c28 100644 --- a/scaladoc/src/dotty/tools/scaladoc/tasty/comments/CommentExpander.scala +++ b/scaladoc/src/dotty/tools/scaladoc/tasty/comments/CommentExpander.scala @@ -259,8 +259,9 @@ class CommentExpander { case vname => lookupVariable(vname, site) match { case Some(replacement) => replaceWith(replacement) - case None => ; - println(s"Variable $vname undefined in comment for $sym in $site") + case None => + // TODO add a CLI setting for enabling this message + // println(s"Variable $vname undefined in comment for $sym in $site") } } }