Closed KacperFKorban closed 1 month ago
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.
We could probably filter out opaque
in parseObject
?
Or could we directly remove opaque
from def getExtraModifiers()
?
cc @Florian3k
@mbovel Yes, it seems like the correct solution. (I meant the one in parseObject
:sweat_smile:)
Filtering should be fine. Not so sure about removing it from getExtraModifiers
.
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