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 fb1ed0a commit 290cf75Copy full SHA for 290cf75
compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala
@@ -1766,7 +1766,7 @@ object messages {
1766
1767
hl"""
1768
| ${"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.
+ | If you wanted to create an enumeration make sure that the corresponding class has the `enum` keyword.
1770
| Otherwise you might have forgotten `class` or `object` after this `enum`.
1771
|
1772
| See http://dotty.epfl.ch/docs/reference/enums/enums.html for more details on enumerations.
0 commit comments