We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93503b0 commit 933a378Copy full SHA for 933a378
compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala
@@ -1778,7 +1778,7 @@ object messages {
1778
1779
hl"""
1780
| ${"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.
+ | If you wanted to create an enumeration make sure that the corresponding class has the `enum` keyword.
1782
| Otherwise you might have forgotten `class` or `object` after this `enum`.
1783
|
1784
| See http://dotty.epfl.ch/docs/reference/enums/enums.html for more details on enumerations.
0 commit comments