This works when using Scala 2.10 and is broken in both 2.11 and 2.12.
The following script:
exec /opt/scala-2.12/bin/scala "$0"
fscbad option: '-Xsource:2.12.0'
fsc -help gives more information
error: source file '/home/nyap/proj/sum-of-power/-Xsource:2.12.0' could not be found
one error found
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.