We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4382930 commit f189b3fCopy full SHA for f189b3f
compiler/src/dotty/tools/dotc/config/ScalaSettings.scala
@@ -24,7 +24,7 @@ object ScalaSettings:
24
val jdkVersion = JDK9Reflectors.runtimeVersionMajor(JDK9Reflectors.runtimeVersion()).intValue()
25
val maxVersion = Math.min(jdkVersion, maxTargetVersion)
26
(minTargetVersion to maxVersion).toList.map(_.toString)
27
- else List()
+ else List(minTargetVersion).map(_.toString)
28
29
def defaultClasspath: String = sys.env.getOrElse("CLASSPATH", ".")
30
0 commit comments