Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

publish sources of synthetic classes and types in -sources.jar artefacts #20073

Open
unkarjedy opened this issue Apr 2, 2024 · 2 comments
Open
Assignees
Labels
area:doctool area:source-jars Issues tied to generating *-sources.jar artifacts. itype:enhancement

Comments

@unkarjedy
Copy link
Contributor

unkarjedy commented Apr 2, 2024

Similar to scala/bug#12958 but for Scala 3 synthetic classes.

Those classes are already published for docs (examples: AnyKind, Matchable)
It would be nice to publish in sources to be able to see their description in the IDE

Related: https://youtrack.jetbrains.com/issue/SCL-22167

Full list of classes

  • AnyKind
  • Matchable
  • &
  • |
@unkarjedy unkarjedy changed the title publish sources of synthetic classes in -sources.jar artefacts publish sources of synthetic classes and types in -sources.jar artefacts Apr 2, 2024
@unkarjedy
Copy link
Contributor Author

Related question.
Should Scala 3 repo duplicate ScalaDoc for Scala 2 synthetic classes?
Scala 3 repo: https://github.com/scala/scala3/blob/release-3.4.1/compiler/src/dotty/tools/dotc/core/Definitions.scala#L2446
Scala 2 repo: https://github.com/scala/scala/tree/2.13.x/src/library-aux/scala

@unkarjedy
Copy link
Contributor Author

unkarjedy commented Apr 3, 2024

Also, it seems like ContextFunctionN classes could be published for Scala 3 in the same way it's done for ProductN, FunctionN and TupleN classes in Scala 2

@Gedochao Gedochao added the area:source-jars Issues tied to generating *-sources.jar artifacts. label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:doctool area:source-jars Issues tied to generating *-sources.jar artifacts. itype:enhancement
Projects
None yet
Development

No branches or pull requests

3 participants