We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
package a { class DeveloperApi extends scala.annotation.StaticAnnotation /** Some doc here */ @DeveloperApi class A @DeveloperApi class B }
Class A gets a simple comment (Some doc here) but not the annotation. Class B gets the annotation.
A
B
Tracked the problem down to: https://github.com/scala/scala/blob/cac6383e6658dc5956540b76b9b46c3b664774ac/src/scaladoc/scala/tools/nsc/doc/html/page/Template.scala#L309-L311. It basically says: if the member gets its own page, and the doc comment is defined, don't generate anything but the doc comment. In our case, A has a doc comment and B doesn't, therefore A only gets the doc comment while B gets the full comment, including the annotation => inconsistency.
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-8514?orig=1 Reporter: @VladUreche Affected Versions: 2.11.0 Attachments:
Sorry, something went wrong.
@VladUreche said: https://github.com/VladUreche/scala/tree/issue/8514
@retronym said: scala/scala#3685
@VladUreche said: PR merged.
VladUreche
No branches or pull requests
Class
A
gets a simple comment (Some doc here) but not the annotation. ClassB
gets the annotation.Tracked the problem down to: https://github.com/scala/scala/blob/cac6383e6658dc5956540b76b9b46c3b664774ac/src/scaladoc/scala/tools/nsc/doc/html/page/Template.scala#L309-L311. It basically says: if the member gets its own page, and the doc comment is defined, don't generate anything but the doc comment. In our case,
A
has a doc comment andB
doesn't, thereforeA
only gets the doc comment whileB
gets the full comment, including the annotation => inconsistency.The text was updated successfully, but these errors were encountered: