-
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.
fix: align erasure of Array[Nothing] and Array[Null] with Scala 2
- Loading branch information
1 parent
81e057a
commit 6dd2f80
Showing
5 changed files
with
25 additions
and
6 deletions.
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
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,13 @@ | ||
val scala3Version = sys.props("plugin.scalaVersion") | ||
val scala2Version = sys.props("plugin.scala2Version") | ||
|
||
lazy val s2 = project.in(file("scala-2")) | ||
.settings( | ||
scalaVersion := scala2Version | ||
) | ||
|
||
lazy val s3 = project.in(file("scala-3")) | ||
.dependsOn(s2) | ||
.settings( | ||
scalaVersion := scala3Version | ||
) |
Empty file.
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,3 @@ | ||
@main def Test = | ||
Foo.nothing | ||
Foo.`null` |
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 @@ | ||
> s3/run |