Skip to content

Commit

Permalink
Update compiler/src/dotty/tools/dotc/reporting/messages.scala
Browse files Browse the repository at this point in the history
Co-authored-by: Jamie Thompson <[email protected]>
[Cherry-picked 094c7aa]
  • Loading branch information
odersky authored and WojciechMazur committed Jun 22, 2024
1 parent 279efea commit 930c4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/reporting/messages.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 930c4aa

Please sign in to comment.