Skip to content

Commit

Permalink
Update docs: package objects are not deprecated yet. (#19213)
Browse files Browse the repository at this point in the history
Package objects are not deprecated in Scala 3.3.1 yet.
  • Loading branch information
sjrd authored Dec 6, 2023
2 parents 3332943 + bb5be18 commit b36f728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_docs/reference/dropped-features/package-objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ package object p {
def b = ...
}
```
will be dropped. They are still available in Scala 3.0 and 3.1, but will be deprecated and removed afterwards.
will be dropped. They are still available, but will be deprecated and removed at some point in the future.

Package objects are no longer needed since all kinds of definitions can now be written at the top-level. Example:
```scala
Expand Down

0 comments on commit b36f728

Please sign in to comment.