Skip to content

Commit 54a4cc1

Browse files
committed
Adhere to naming convention
1 parent a7b7de1 commit 54a4cc1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/reporting/MessageKind.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ enum MessageKind:
3838
case PatternMatchExhaustivity => "Pattern Match Exhaustivity"
3939
case MatchCaseUnreachable => "Match case Unreachable"
4040
case PotentialIssue => "Potential Issue"
41-
case UnusedSymbol => "Unused symbol"
41+
case UnusedSymbol => "Unused Symbol"
4242
case kind => kind.toString
4343
end MessageKind

compiler/test-resources/repl/i18383

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ scala> import scala.collection.*
44

55
scala> class Foo { import scala.util.*; println("foo") }
66
1 warning found
7-
-- [E195] Unused symbol Warning: -----------------------------------------------
7+
-- [E195] Unused Symbol Warning: -----------------------------------------------
88
1 | class Foo { import scala.util.*; println("foo") }
99
| ^
1010
| unused import

0 commit comments

Comments
 (0)