Skip to content

Commit

Permalink
Consider minTargetVersion as always supported
Browse files Browse the repository at this point in the history
  • Loading branch information
arixmkii committed Oct 25, 2021
1 parent 4382930 commit 047e5f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/config/ScalaSettings.scala
Expand Up @@ -24,7 +24,7 @@ object ScalaSettings:
val jdkVersion = JDK9Reflectors.runtimeVersionMajor(JDK9Reflectors.runtimeVersion()).intValue()
val maxVersion = Math.min(jdkVersion, maxTargetVersion)
(minTargetVersion to maxVersion).toList.map(_.toString)
else List()
else List(minTargetVersion).map(_.toString)

def defaultClasspath: String = sys.env.getOrElse("CLASSPATH", ".")

Expand Down

0 comments on commit 047e5f0

Please sign in to comment.