Open KacperFKorban opened 1 month ago
3.6.0-RC1-bin-20240718-bd84584-NIGHTLY, 3.4.2
3.6.0-RC1-bin-20240718-bd84584-NIGHTLY
3.4.2
//> using scala 3.nightly // opaqueobject.scala object Sth: opaque type A = Int
scala-cli doc opaqueobject.scala
The object documentation also gets an opaque modifier. The opaque type is documented correctly.
object
opaque
opaque type
The object documentation doesn't have an opaque modifier
It's not really opaque types. The compiler uses internally opaque as a flag for the object or class containing an opaque type. That won't change. It should be the job of the scaladoc to filter that out.
Compiler version
3.6.0-RC1-bin-20240718-bd84584-NIGHTLY
,3.4.2
Minimized code
scala-cli doc opaqueobject.scala
Output
The
object
documentation also gets anopaque
modifier. Theopaque type
is documented correctly.Expectation
The
object
documentation doesn't have anopaque
modifier