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

Scaladoc creates duplicated annoations #10126

Closed
scabug opened this issue Dec 30, 2016 · 4 comments
Closed

Scaladoc creates duplicated annoations #10126

scabug opened this issue Dec 30, 2016 · 4 comments

Comments

@scabug
Copy link

scabug commented Dec 30, 2016

Given source code that contains a @compileTimeOnly annoataion: https://github.com/ThoughtWorksInc/enableIf.scala/blob/544f2c4/src/main/scala/com/thoughtworks/enableIf.scala

The generated Scaladoc become duplicated @compileTimeOnly( ... ) @compileTimeOnly( ... ): https://static.javadoc.io/com.thoughtworks.enableIf/enableif_2.12/1.1.4/com/thoughtworks/enableIf.html

@scabug
Copy link
Author

scabug commented Dec 30, 2016

Imported From: https://issues.scala-lang.org/browse/SI-10126?orig=1
Reporter: @Atry
Affected Versions: 2.12.0

@scabug
Copy link
Author

scabug commented Feb 11, 2017

@Philippus said:
Could it be that the scalamacros plugin adds the @compileTimeOnly annotation even if it is already there so you end up with 2 @compileTimeOnly annotations?

@scabug
Copy link
Author

scabug commented Feb 21, 2017

@Philippus said:
It's indeed a bug in the scalamacros plugin, that I fixed in this PR:

scalamacros/paradise#91

@scabug
Copy link
Author

scabug commented Feb 22, 2017

@Philippus said:
out of scope, it's a bug in the scalamacros plugin

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

1 participant