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

Orphan page in language tour: "Automatic Type-Dependent Closure Construction" #3095

Closed
SethTisue opened this issue Sep 5, 2024 · 3 comments · Fixed by #3094
Closed

Orphan page in language tour: "Automatic Type-Dependent Closure Construction" #3095

SethTisue opened this issue Sep 5, 2024 · 3 comments · Fixed by #3094

Comments

@SethTisue
Copy link
Member

SethTisue commented Sep 5, 2024

https://docs.scala-lang.org/tour/automatic-closures.html seems to be an orphan page that isn't in the language tour's table of contents and isn't linked to from within our site. I suspect its continued existence is just an oversight.

(I'm curious how someone even found the page to report the problem to us. Perhaps Google knows about it through an external link somewhere.)

I think we could just remove the page and replace it with a redirect to https://docs.scala-lang.org/tour/by-name-parameters.html

@bishabosha
Copy link
Member

bishabosha commented Sep 5, 2024

The while-loop example from this page was already moved to https://docs.scala-lang.org/tour/by-name-parameters.html - im not sure if the fake trinary operator (loop...unless) example is still worth promoting

@SethTisue SethTisue self-assigned this Sep 18, 2024
@SethTisue SethTisue transferred this issue from scala/scala-lang Oct 22, 2024
@SethTisue
Copy link
Member Author

PR: #3094

@SethTisue
Copy link
Member Author

fyi @odersky , who originally passed on the user report

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 a pull request may close this issue.

2 participants