Skip to content

Commit 290cf75

Browse files
committed
fix typo
1 parent fb1ed0a commit 290cf75

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
@@ -1766,7 +1766,7 @@ object messages {
17661766

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

0 commit comments

Comments
 (0)