Skip to content

Scaladoc is years before the language and creates opaque objects #21228

Closed
@KacperFKorban

Description

@KacperFKorban

Compiler version

3.6.0-RC1-bin-20240718-bd84584-NIGHTLY, 3.4.2

Minimized code

//> using scala 3.nightly
// opaqueobject.scala

object Sth:
  opaque type A = Int

scala-cli doc opaqueobject.scala

Output

The object documentation also gets an opaque modifier.
The opaque type is documented correctly.

opaque object documentation

Expectation

The object documentation doesn't have an opaque modifier

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions