-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sources of synthetic classes to sources jar
[Cherry-picked 27bd975]
- Loading branch information
Showing
5 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package scala | ||
|
||
/** The super-type of all types. | ||
* | ||
* See [[https://docs.scala-lang.org/scala3/reference/other-new-features/kind-polymorphism.html]]. | ||
*/ | ||
final abstract class AnyKind |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package scala | ||
|
||
/** The base trait of types that can be safely pattern matched against. | ||
* | ||
* See [[https://docs.scala-lang.org/scala3/reference/other-new-features/matchable.html]]. | ||
*/ | ||
trait Matchable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package scala | ||
|
||
/** The intersection of two types. | ||
* | ||
* See [[https://docs.scala-lang.org/scala3/reference/new-types/intersection-types.html]]. | ||
*/ | ||
type &[A, B] = A & B |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package scala | ||
|
||
/** The union of two types. | ||
* | ||
* See [[https://docs.scala-lang.org/scala3/reference/new-types/union-types.html]]. | ||
*/ | ||
type |[A, B] = A | B |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters