scala / scala3

The Scala 3 compiler, also known as Dotty.
https://dotty.epfl.ch
Apache License 2.0
5.88k stars 1.06k forks source link

Source links in scaladoc are wrong for 3.3.3 #20058

Open JD557 opened 7 months ago

JD557 commented 7 months ago

Compiler version

3.3.3

Minimized example

https://scala-lang.org/api/3.3.3/scala/collection/immutable/Vector.html

Output

The source link points to https://github.com/lampepfl/dotty/blob/3.3.3/out/bootstrap/stdlib-bootstrapped/scala-3.3.2-bin-SNAPSHOT-nonbootstrapped/src_managed/main/scala-library-src/scala/collection/immutable/Vector.scala#L115

Expectation

The source should point tohttps://github.com/scala/scala/blob/v2.13.12/src/library/scala/collection/immutable/Vector.scala#L115

SethTisue commented 7 months ago

@Kordyjan your wheelhouse?

bjornregnell commented 4 months ago

This was not just a 1st of April joke :) image

bjornregnell commented 4 months ago

Workaround (based on tip from @JD557 - thanks!!): View old docs from 3.3.2 https://www.scala-lang.org/api/3.3.2/

bjornregnell commented 4 months ago

So also old docs needs to be updated; there is a big risk that a newcomer comes to another version of the docs when sifting the net.... For example api doc soruce links of 3.2.2 does not work either.

KacperFKorban commented 3 months ago

This looks to be the same issue as https://github.com/scala/scala3/issues/15689

And I still think that this is an issue with the release procedure and not the scaladoc itself. Curiously though, there seems to be a pattern of only the last patch release in every minor being broken. Is there a different script for releasing the last patch in a minor line?