File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -105,9 +105,22 @@ get poor results, try surrounding the symbol with double quotes.
105105sbt 1.x always uses Scala 2.12 to compile build definitions.
106106Your sbt 1.x build definition is always a Scala 2.12 program.
107107
108- Regardless, in your ` build.sbt ` you can set ` scalaVersion ` to anything
109- you want and your actual program code will be compiled with that
110- version.
108+ Regardless, in your ` build.sbt ` , you can set ` scalaVersion ` to whichever
109+ available distribution you want and your program code will be compiled with that version.
110+
111+ ### I want Scala 3.1.1 (etc); why does std lib say it's using Scala 2.13?
112+
113+ Scala 3 currently uses the Scala 2.13 library by leveraging its seamless
114+ interoperability. Note that it does not necessarily ingest the latest
115+ version of the Scala 2.13 library.
116+
117+ ```
118+ Welcome to Scala 3.1.1 (17.0.2, Java OpenJDK 64-Bit Server VM).
119+ Type in expressions for evaluation. Or try :help.
120+
121+ scala> util.Properties.versionString
122+ val res0: String = version 2.13.6
123+ ```
111124
112125### Why is my (abstract or overridden) ` val ` null?
113126
You can’t perform that action at this time.
0 commit comments