Skip to content

Commit e1b51e0

Browse files
Update compiler/src/dotty/tools/repl/Rendering.scala
Co-authored-by: Jamie Thompson <bishbashboshjt@gmail.com>
1 parent e83c2f1 commit e1b51e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/repl/Rendering.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ private[repl] class Rendering(parentClassLoader: Option[ClassLoader] = None) {
3434
/** A `MessageRenderer` for the REPL without file positions */
3535
private val messageRenderer = new MessageRendering {
3636
override def posStr(pos: SourcePosition, diagnosticLevel: String, message: Message)(using Context): String =
37-
s"-- $diagnosticLevel:"
37+
hl(diagnosticLevel)(s"-- $diagnosticLevel:")
3838
}
3939

4040
private var myClassLoader: ClassLoader = _

0 commit comments

Comments
 (0)