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 a74feb6 commit 72432f4Copy full SHA for 72432f4
compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala
@@ -1924,9 +1924,8 @@ object messages {
1924
}
1925
1926
case class PackageNameAlreadyDefined(pkg: Symbol)(implicit ctx: Context) extends Message(PackageNameAlreadyDefinedID) {
1927
-
1928
val msg = hl"${pkg} is already defined, cannot be a ${"package"}"
1929
- val kind = "Syntax"
+ val kind = "Naming"
1930
val explanation =
1931
hl"An ${"object"} cannot have the same name as an existing ${"package"}. Rename either one of them."
1932
0 commit comments