File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/reporting/diagnostic Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -909,15 +909,15 @@ object messages {
909909
910910 case class MatchCaseUnreachable ()(implicit ctx : Context )
911911 extends Message (MatchCaseUnreachableID ) {
912- val kind = s """ Match case Unreachable "" "
912+ val kind = " Match case Unreachable"
913913 val msg = " unreachable code"
914914 val explanation = " "
915915 }
916916
917917 case class MatchCaseOnlyNullWarning ()(implicit ctx : Context )
918918 extends Message (MatchCaseOnlyNullWarningID ) {
919- val kind = s """ Only null matched "" "
920- val msg = s " Only ${hl " null " } is matched. Consider use `case null =>` instead. "
919+ val kind = " Only null matched"
920+ val msg = s " Only ${hl " null " } is matched. Consider using `case null =>` instead. "
921921 val explanation = " "
922922 }
923923
You can’t perform that action at this time.
0 commit comments