estatico / scala-newtype

NewTypes for Scala with no runtime overhead
Apache License 2.0
540 stars 31 forks source link

Newtype ScalaDoc comment does not appear in generated HTML API documentation #76

Open alexcardell opened 3 months ago

alexcardell commented 3 months ago

ScalaDoc comments on Newtypes don't appear in the generated output. The HTML lists it as type as with a normal type alias, but does not apply the documentation.

Example:

  /** Example type doc
   */
  type X1 = Int

  /** Example newtype doc won't appear
   */
  @newtype case class X2(int: Int)

Output:

image