-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update FAQ entry about scala.util.Properties.versionNumberString
to cover JS and Native
#2905
Comments
With the following script: //> using scala 3.3.1
println("version:" + scala.util.Properties.versionNumberString) I can get it to work on both JVM and Native. However, I get Using scala-cli v..0.4 and Scala Native v0.4.14 |
That's expected; by 3.3.2 we should have 2.13.12; I'm pursuing it at scala/scala3#18525 (comment)
That, I don't understand |
when I'm updating this, I should consider whether it makes sense to further expand the FAQ answer, or whether this info could move to the Scaladoc. we try to avoid having the FAQ be the main documentation point for anything, preferring FAQ answers to be kept short and primarily link to information living elsewhere |
Leaving this open, but removing my assignment, as I no longer intend to work on it. |
https://docs.scala-lang.org/tutorials/FAQ/index.html#i-want-scala-3-why-does-versionnumberstring-say-im-on-213
TIL on Scala.js that it doesn't work because it tries to read a resource and Scala.js doesn't do that
so I guess the entry will have to suggest sbt-buildinfo and/or the Scala-CLI equivalent (they recently added one)
what about Native, does it work on Native?
The text was updated successfully, but these errors were encountered: