8000 Deprecate `Yno-kind-polymorphism` by Linyxus · Pull Request #22814 · scala/scala3 · GitHub
[go: up one dir, main page]

Skip to content

Deprecate Yno-kind-polymorphism #22814

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 18, 2025
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
update doc
  • Loading branch information
Linyxus committed Mar 15, 2025
commit 05fb82a606f63e20ee0455e8b99f5fbb7b55411e
3 changes: 1 addition & 2 deletions docs/_docs/reference/other-new-features/kind-polymorphism.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,4 @@ It is declared `abstract` and `final`, so it can be neither instantiated nor ext

`AnyKind` plays a special role in Scala's subtype system: It is a supertype of all other types no matter what their kind is. It is also assumed to be kind-compatible with all other types. Furthermore, `AnyKind` is treated as a higher-kinded type (so it cannot be used as a type of values), but at the same time it has no type parameters (so it cannot be instantiated).

**Note:** This feature is considered experimental but stable and it can be disabled under compiler flag
(i.e. `-Yno-kind-polymorphism`).
**Note:** This feature is now stable. The compiler flag `-Yno-kind-polymorphism` that used to disable it will be deprecated from 3.7.0.
Loading
0