Skip to content

Commit 933a378

Browse files
committed
fix typo
1 parent 93503b0 commit 933a378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@ object messages {
17781778

17791779
hl"""
17801780
| ${"case"} is only allowed at this place if the surrounding object is the companion object of an `enum class`.
1781-
| If you wanted to create an enumeration, make sure that the corresponding class has the `enum` keyword.
1781+
| If you wanted to create an enumeration make sure that the corresponding class has the `enum` keyword.
17821782
| Otherwise you might have forgotten `class` or `object` after this `enum`.
17831783
|
17841784
| See http://dotty.epfl.ch/docs/reference/enums/enums.html for more details on enumerations.

0 commit comments

Comments
 (0)