-
Notifications
You must be signed in to change notification settings - Fork 1.1k
introduce scala.annotation.documented
#23770
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
base: main
Are you sure you want to change the base?
Conversation
* environment. | ||
*/ | ||
@experimental | ||
@experimental @documented |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One change compared to the previous behavior, this means all the @use
annotations of CC will be in the doc even when we suppress cc in scaladoc.
82239f4
to
02fab3f
Compare
The failures in the CI are actually bugs in scaladoc. I'll fill the issue for it shortly. |
"scala.specialized", | ||
"scala.throws", | ||
"scala.transient", | ||
"scala.volatile", | ||
"scala.annotation.experimental", | ||
"scala.annotation.constructorOnly", | ||
"scala.annotation.static", | ||
"scala.annotation.targetName", | ||
"scala.annotation.threadUnsafe", | ||
"scala.annotation.varargs", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This list was useless as all the symbols in the annotations are symbols to the constructors.
As an example, we should have had scala.annotation.experimental.<init>
instead of scala.annotation.experimental
.
Since the intention is to have these annotations as documented, I will update the tests that failed to include them.
433bdf4
to
453e75d
Compare
TODO:
java.lang.annotation.Documented
inscala.annotation.documented
java.lang.annotation.Documented
or drop it?