From 930c4aab897451520b844a3f2fe946a51463ea24 Mon Sep 17 00:00:00 2001 From: odersky Date: Wed, 25 Oct 2023 10:36:45 +0200 Subject: [PATCH] Update compiler/src/dotty/tools/dotc/reporting/messages.scala Co-authored-by: Jamie Thompson [Cherry-picked 094c7aa4bb3bf04ea7ddc545f59fc99e30ad8d27] --- compiler/src/dotty/tools/dotc/reporting/messages.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/dotty/tools/dotc/reporting/messages.scala b/compiler/src/dotty/tools/dotc/reporting/messages.scala index faf5d82e477b..8ea18f7bdfd0 100644 --- a/compiler/src/dotty/tools/dotc/reporting/messages.scala +++ b/compiler/src/dotty/tools/dotc/reporting/messages.scala @@ -259,7 +259,7 @@ extends NotFoundMsg(MissingIdentID) { i"""|Each identifier in Scala needs a matching declaration. There are two kinds of |identifiers: type identifiers and value identifiers. Value identifiers are introduced |by `val`, `def`, or `object` declarations. Type identifiers are introduced by `type`, - |`class`, or `trait` declarations. + |`class`, `enum`, or `trait` declarations. | |Identifiers refer to matching declarations in their environment, or they can be |imported from elsewhere.