-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #437 from sjrd/scala-3.4.0
Upgrade to Scala 3.4.0 and support its TASTy format.
- Loading branch information
Showing
16 changed files
with
84 additions
and
77 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ import sbt.internal.util.ManagedLogger | |
|
||
import org.scalajs.jsenv.nodejs.NodeJSEnv | ||
|
||
val usedScalaCompiler = "3.3.1" | ||
val usedScalaCompiler = "3.4.0" | ||
val usedTastyRelease = usedScalaCompiler | ||
val scala2Version = "2.13.12" | ||
|
||
|
@@ -37,7 +37,7 @@ inThisBuild(Def.settings( | |
Developer("sjrd", "Sébastien Doeraene", "[email protected]", url("https://github.com/sjrd/")), | ||
Developer("bishabosha", "Jamie Thompson", "[email protected]", url("https://github.com/bishabosha")), | ||
), | ||
versionPolicyIntention := Compatibility.BinaryAndSourceCompatible, | ||
versionPolicyIntention := Compatibility.BinaryCompatible, | ||
// Ignore dependencies to internal modules whose version is like `1.2.3+4...` (see https://github.com/scalacenter/sbt-version-policy#how-to-integrate-with-sbt-dynver) | ||
versionPolicyIgnoredInternalDependencyVersions := Some("^\\d+\\.\\d+\\.\\d+\\+\\d+".r) | ||
)) | ||
|
@@ -139,7 +139,8 @@ lazy val tastyQuery = | |
) | ||
}, | ||
|
||
tastyMiMaPreviousArtifacts := mimaPreviousArtifacts.value, | ||
// Temporarily disabled until we have a published version of tasty-query that can handle 3.4.x. | ||
//tastyMiMaPreviousArtifacts := mimaPreviousArtifacts.value, | ||
tastyMiMaConfig ~= { prev => | ||
import tastymima.intf._ | ||
prev | ||
|
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
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
3 changes: 3 additions & 0 deletions
3
test-sources/src/main/scala/simple_trees/AccessModifiers.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
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package simple_trees | ||
|
||
final class ValueClass(val it: List[_]) extends AnyVal { | ||
final class ValueClass(val it: List[?]) extends AnyVal { | ||
def myLength: Int = it.size | ||
} |
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