Skip to content

Commit

Permalink
Update package-objects.md
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
Bersier authored Dec 6, 2023
1 parent 3332943 commit bb5be18
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 bb5be18

Please sign in to comment.