-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Parser covariant in Scala 3 (#453)
- Loading branch information
1 parent
5ca4fd9
commit d892207
Showing
7 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
core/shared/src/main/scala-2/caseapp/core/parser/Internal.scala
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,5 @@ | ||
package caseapp.core.parser | ||
|
||
private[parser] object Internal { | ||
type uncheckedVarianceScala2 = scala.annotation.unchecked.uncheckedVariance | ||
} |
5 changes: 5 additions & 0 deletions
5
core/shared/src/main/scala-3/caseapp/core/parser/Internal.scala
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,5 @@ | ||
package caseapp.core.parser | ||
|
||
private[parser] object Internal { | ||
final class uncheckedVarianceScala2 extends scala.annotation.StaticAnnotation | ||
} |
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
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
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
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
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