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 {
909
909
910
910
case class MatchCaseUnreachable ()(implicit ctx : Context )
911
911
extends Message (MatchCaseUnreachableID ) {
912
- val kind = s """ Match case Unreachable "" "
912
+ val kind = " Match case Unreachable"
913
913
val msg = " unreachable code"
914
914
val explanation = " "
915
915
}
916
916
917
917
case class MatchCaseOnlyNullWarning ()(implicit ctx : Context )
918
918
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. "
921
921
val explanation = " "
922
922
}
923
923
You can’t perform that action at this time.
0 commit comments