Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions _overviews/scala3-migration/incompat-dropped-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Most of these changes can be handled automatically during the [Scala 3 migration
|[`any2stringadd` conversion](#any2stringadd-conversion)|Deprecation||[✅](https://github.com/scala/scala-rewrites/blob/main/rewrites/src/main/scala/fix/scala213/Any2StringAdd.scala)|
|[Early initializer](#early-initializer)|Deprecation|||
|[Existential type](#existential-type)|Feature warning|||
|[@specialized](#specialized)|Deprecation|||

## Symbol literals

Expand Down Expand Up @@ -256,3 +257,12 @@ def foo: Bar

Note that using a wildcard argument, `_` or `?`, is often simpler but is not always possible.
For instance you could replace `List[T] forSome { type T }` by `List[?]`.

## Specialized

The `@specialized` annotation from Scala 2 is ignored in Scala 3.

However, there is limited support for specialized `Function` and `Tuple`.

Similar benefits can be derived from `inline` declarations.