-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add sources of synthetic classes to sources jar #20904
base: main
Are you sure you want to change the base?
Conversation
/** The super-type of all types. | ||
* | ||
* See [[https://docs.scala-lang.org/scala3/reference/other-new-features/kind-polymorphism.html]]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit:
/** The super-type of all types. | |
* | |
* See [[https://docs.scala-lang.org/scala3/reference/other-new-features/kind-polymorphism.html]]. | |
/** The super-type of all types. | |
* | |
* See [[https://docs.scala-lang.org/scala3/reference/other-new-features/kind-polymorphism.html]]. |
Same in the other files.
* | ||
* See [[https://docs.scala-lang.org/scala3/reference/other-new-features/kind-polymorphism.html]]. | ||
*/ | ||
final abstract class AnyKind |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It makes no sense for this type to be final
. It definitely has subclasses, including AnyRef
.
final abstract class AnyKind | |
abstract class AnyKind |
* | ||
* See [[https://docs.scala-lang.org/scala3/reference/new-types/intersection-types.html]]. | ||
*/ | ||
type &[A, B] = A & B |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This awfully looks like a circular definition. Consider leaving it abstract instead?
type &[A, B] = A & B | |
type &[A, B] |
Same for |
.
Closes #20073