-
Notifications
You must be signed in to change notification settings - Fork 932
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 #6538 from adpi2/fix-mkScalaInstance
Fix compiler class loader jars
- Loading branch information
Showing
7 changed files
with
13 additions
and
18 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
2 changes: 1 addition & 1 deletion
2
sbt-app/src/sbt-test/compiler-project/scala3-tasty-management/build.sbt
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
8 changes: 4 additions & 4 deletions
8
sbt-app/src/sbt-test/compiler-project/scala3-tasty-management/test
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,12 +1,12 @@ | ||
> check | ||
> compile | ||
|
||
$ exists target/scala-3.0.0-M2/classes/A.tasty | ||
$ exists target/scala-3.0.0-M2/classes/B.tasty | ||
$ exists target/scala-3.0.0-M3/classes/A.tasty | ||
$ exists target/scala-3.0.0-M3/classes/B.tasty | ||
|
||
$ delete src/main/scala/B.scala | ||
|
||
> compile | ||
|
||
$ exists target/scala-3.0.0-M2/classes/A.tasty | ||
-$ exists target/scala-3.0.0-M2/classes/B.tasty | ||
$ exists target/scala-3.0.0-M3/classes/A.tasty | ||
-$ exists target/scala-3.0.0-M3/classes/B.tasty |
2 changes: 1 addition & 1 deletion
2
sbt-app/src/sbt-test/dependency-management/scala3-compiler-bridge-binary/build.sbt
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,15 +1,15 @@ | ||
ThisBuild / scalaVersion := "2.13.4" | ||
ThisBuild / scalaVersion := "2.13.6" | ||
ThisBuild / scalacOptions += "-Ytasty-reader" | ||
|
||
lazy val scala3code = project | ||
.enablePlugins(ScalaJSPlugin) | ||
.settings(scalaVersion := "3.0.0-M1") | ||
.settings(scalaVersion := "3.0.0") | ||
|
||
lazy val app = project | ||
.enablePlugins(ScalaJSPlugin) | ||
.dependsOn(scala3code) | ||
.settings( | ||
scalaVersion := "2.13.4", | ||
scalaVersion := "2.13.6", | ||
scalacOptions += "-Ytasty-reader", | ||
scalaJSUseMainModuleInitializer := true | ||
) |
2 changes: 1 addition & 1 deletion
2
sbt-app/src/sbt-test/project/scala3-sandwich-sjs/project/plugins.sbt
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 +1 @@ | ||
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.3.1") | ||
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.6.0") |
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