Skip to content

Update reference compiler to 3.1.0-RC1-NIGHTLY #13366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ package internal
* It may accidentally be visible while compiling the non-bootstrapped library.
*/
@experimental def testExperimental = 4

// def test = testExperimental // This should fail if un-commented
7 changes: 5 additions & 2 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ object DottyJSPlugin extends AutoPlugin {
}

object Build {
val referenceVersion = "3.0.0"
val referenceVersion = "3.1.0-RC1-bin-20210823-dd7a07a-NIGHTLY"

val baseVersion = "3.1.0-RC1"

Expand Down Expand Up @@ -1740,7 +1740,10 @@ object Build {
val base =
project.withCommonSettings.
settings(
libraryDependencies += "org.scala-lang" % "scala-library" % stdlibVersion
libraryDependencies += "org.scala-lang" % "scala-library" % stdlibVersion,
// Make sure we do not refer to experimental features outside an experimental scope.
// In other words, disable NIGHTLY/SNAPSHOT experimental scope.
scalacOptions += "-Yno-experimental",
).
settings(dottyLibrarySettings)
if (mode == Bootstrapped) {
Expand Down