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

Incorrect warning message in Scala 3 Reference on stable versions of the compiler #22154

Open
jchyb opened this issue Dec 6, 2024 · 0 comments

Comments

@jchyb
Copy link
Contributor

jchyb commented Dec 6, 2024

Accessing the reference through the API docs shows a This is a nightly documentation. The content of this page may not be consistent with the current stable version of language warning message, even when a stable version of the language is chosen:
https://scala-lang.org/api/3.3_LTS/docs/docs/reference/syntax.html

Expectation

No warning message on stable versions.
I remember on older versions of the compiler, the scaladoc API would not be able to show the scala 3 reference (https://scala-lang.org/api/3.3.1/) on the stable versions of the compiler, instead having it completely separate (https://docs.scala-lang.org/scala3/reference/new-types/intersection-types.html). I suspect this merger is when the issue appeared, as previously we were only able to access reference through the API docs only on nightly versions of the scaladoc (though I personally like that they are now always merged)

@jchyb jchyb added itype:bug stat:needs triage Every issue needs to have an "area" and "itype" label area:documentation area:doctool labels Dec 6, 2024
@Gedochao Gedochao removed the stat:needs triage Every issue needs to have an "area" and "itype" label label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants