-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
The following projects are emmiting warning when generating scaladoc:
scalapb/zio-grpc
- build logs
rescala-lang/rescala
- build logs
Compiler version
3.7.0-RC1-bin-20250307-977232c-NIGHTLY
Needs minimizaiton
Output
scala.MatchError: Encountered unsupported type. Report this problem to https://github.com/scala/scala3/.
<Internal compiler type SkolemType(1162214087) does not have a corresponding reflect extractor> (of class java.lang.String)
at dotty.tools.scaladoc.tasty.TypesSupport.inner(TypesSupport.scala:324)
at dotty.tools.scaladoc.tasty.TypesSupport.inner(TypesSupport.scala:272)
at dotty.tools.scaladoc.tasty.TypesSupport.dotty$tools$scaladoc$tasty$TypesSupport$$topLevelProcess(TypesSupport.scala:77)
[warn] |scala.MatchError: Encountered unsupported type. Report this problem to [https://github.com/scala/scala3/.](https://github.com/scala/scala3/)
[warn] |FlexibleType(TypeRef(TermRef(ThisType(TypeRef(NoPrefix(), "nio")), "channels"), "Selector")) (of class java.lang.String)
[warn] | at dotty.tools.scaladoc.tasty.TypesSupport.inner(TypesSupport.scala:324)
[warn] | at dotty.tools.scaladoc.tasty.TypesSupport.dotty$tools$scaladoc$tasty$TypesSupport$$topLevelProcess(TypesSupport.scala:77)
[warn] | at dotty.tools.scaladoc.tasty.TypesSupport$TypeSyntax$.asSignature(TypesSupport.scala:29)
Expectation
Should be handled by scaladoc
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
WojciechMazur commentedon Mar 12, 2025
Actually this issue can be even found in our own codebase:
Add FlexibleType support for scaladoc (scala#23320)