sbt / sbt-unidoc

sbt plugin to create a unified Scaladoc or Javadoc API document across multiple subprojects.
Apache License 2.0
124 stars 27 forks source link

Backticks support #124

Closed danicheg closed 2 years ago

danicheg commented 2 years ago

I have this scaladoc

  /** Add a [[org.http4s.headers.`Set-Cookie`]] which will remove the specified
    * cookie from the client
    */

and receive this error

/home/runner/work/http4s/http4s/core/shared/src/main/scala/org/http4s/Message.scala:686:3: Could not find any member to link for "org.http4s.headers.`Set-Cookie`".

Though org.http4s.headers.`Set-Cookie` is a totally legit reference to the http4s class. Is this a bug, or am I missing something stupidly obvious?

danicheg commented 2 years ago

Actually, this comes from scalac, so this issue isn't related to unidoc particularly. If anyone will be interested in further investigation it's here https://github.com/scala/bug/issues/12628.