Skip to content
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

Reword reference article about type projection so that it highlights what is allowed #22793

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Sporarum
Copy link
Contributor

Was previously focused on what was forbidden/dangerous which made it feel like an unsafe feature

See for example: https://users.scala-lang.org/t/path-dependent-types-accessing-outer-class/10620/8

I left the paragraph about "type-level encoding of a combinator calculus" but it feels more like trivia than useful information ?

This commit only exists to avoid git being confused, it is not independent of the following commit !
…what is allowed

Was previously focused on what was forbidden/dangerous which made it feel like an unsafe feature
@Sporarum
Copy link
Contributor Author

Things I did not have time/the knowledge to do:

  • Change the sidebar to reflect it was moved
  • Set up redirection for the old URL

Copy link
Contributor

@odersky odersky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for the wording. But I'd leave it under dropped features with the title as given. All the changes are really restrictions that were added, so "general type projections" do count as a dropped feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants