Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Try with nonexperimental compiler
  • Loading branch information
odersky committed Mar 28, 2021
commit 5d6c42c037b7db0a4b975cb7c9910617c9c88f67
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ lazy val compilerVersion: String =
new String(Files.readAllBytes(file), UTF_8)

lazy val compilerSupportExperimental: Boolean =
false &&
compilerVersion.contains("SNAPSHOT") || compilerVersion.contains("NIGHTLY")

lazy val sbtPluginFilePath: String =
Expand Down
4 changes: 3 additions & 1 deletion compiler/src/dotty/tools/dotc/config/Properties.scala
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ trait PropertiesTrait {
* 2. Features supported by experimental versions of the compiler:
* - research plugins
*/
val experimental: Boolean = versionString.contains("SNAPSHOT") || versionString.contains("NIGHTLY")
val experimental: Boolean =
false &&
versionString.contains("SNAPSHOT") || versionString.contains("NIGHTLY")

val copyrightString: String = scalaPropOrElse("copyright.string", "(c) 2002-2017 LAMP/EPFL")

Expand Down