File tree Expand file tree Collapse file tree 4 files changed +10
-0
lines changed
sbt-test/sbt-dotty/scala2-library-cc-tasty Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1920,6 +1920,7 @@ object Build {
19201920 (`scala3-compiler-bootstrapped` / publishLocalBin),
19211921 (`scala3-library-bootstrapped` / publishLocalBin),
19221922 (`scala2-library-tasty` / publishLocal),
1923+ (`scala2-library-cc-tasty` / publishLocal),
19231924 (`scala3-library-bootstrappedJS` / publishLocalBin),
19241925 (`tasty-core-bootstrapped` / publishLocalBin),
19251926 (`scala3-staging` / publishLocalBin),
Original file line number Diff line number Diff line change 1+ scalaVersion := sys.props(" plugin.scalaVersion" )
2+
3+ libraryDependencies += " org.scala-lang" %% " scala2-library-cc-tasty-experimental" % scalaVersion.value
4+ scalacOptions += " -Yscala2-unpickler:never" // check that we do not load symbol from the Scala 2 library classfiles (use TASTy)
Original file line number Diff line number Diff line change 1+ package hello
2+
3+ @ main def hello : Unit =
4+ println(Some (" Hello world!" )) // load Some form the Scala 2 library TASTy
Original file line number Diff line number Diff line change 1+ > run
You can’t perform that action at this time.
0 commit comments