We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7a353c commit a5d6d8fCopy full SHA for a5d6d8f
compiler/src/dotty/tools/dotc/reporting/messages.scala
@@ -2126,7 +2126,7 @@ import transform.SymUtils._
2126
val addendum =
2127
if (scrutTp != testTp) s" is a subtype of ${testTp.show}"
2128
else " is the same as the tested type"
2129
- s"The highlighted type test will always succeed since the scrutinee type ($scrutTp.show)" + addendum
+ s"The highlighted type test will always succeed since the scrutinee type ${scrutTp.show}" + addendum
2130
}
2131
def explain = ""
2132
0 commit comments