I installed Scala 3.4.1 on MacOs with brew.
scala command runs and opens scala command line as 3.4.1 but getting version information as 2.13.12
enter image description here
Welcome to Scala 3.4.1 (21.0.3, Java OpenJDK 64-Bit Server VM).
Type in expressions for evaluation. Or try :help.
scala> util.Properties.versionString
val res0: String = version 2.13.12
even intelliJ returns version 2.13.12 for
println(util.Properties.versionString)
Any idea?
New contributor
Tom Red is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.