docs.scala-lang icon indicating copy to clipboard operation
docs.scala-lang copied to clipboard

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

Open SethTisue opened this issue 1 year ago • 2 comments

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

SethTisue avatar Sep 05 '24 12:09 SethTisue

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

bishabosha avatar Sep 05 '24 12:09 bishabosha

PR: #3094

SethTisue avatar Oct 22 '24 15:10 SethTisue

fyi @odersky , who originally passed on the user report

SethTisue avatar Oct 26 '24 19:10 SethTisue