typelevel / scalac-compat

Lightweight tools for tackling Scalac version incompatibilities
Apache License 2.0
6 stars 3 forks source link

Annotations on "top-level" public members can break scaladoc 3 #56

Closed armanbilge closed 10 months ago

armanbilge commented 1 year ago

Just to track this. If it's not deemed a Scala 3 issue (and I'm not sure if it would be) then we may need to rethink our implementation.

Bug (?):

Workaround:

satorg commented 11 months ago

@armanbilge , can the lampepfl/dotty#18487 issue be worked around by adding scalac-compat-annotation directly to the doc task (which otherwise failing) as a regular Compile dependency?

armanbilge commented 11 months ago

Not sure, but the issue is that we shouldn't require downstream, non-sbt-typelevel users to have to modify their build in these ways just so they can use our libraries.

armanbilge commented 10 months ago

For now, the fix is to treat scalac-compat-annotation as a Provided library.