You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When the default Scala version is not yet supported by the default Ammonite version, we automatically downgrade to a hardcoded version.
This, however, only works if the Scala version is passed to the REPL via a command line option.
Whatever is defined in a using directive gets ignored at the moment.
To Reproduce
scala-cli repl --amm --scala-snippet '//> using scala 3.3.4' --power
# Scala 3.6.3 is not yet supported with this version of Ammonite# Defaulting to Scala 3.5.1# Scala 3.6.3 is not yet supported with this version of Ammonite# Defaulting to Scala 3.5.1# Compiling project (Scala 3.5.1, JVM (23))# Compiled project (Scala 3.5.1, JVM (23))# Loading...# Welcome to the Ammonite Repl 3.0.0-2-6342755f (Scala 3.5.1 Java 23.0.1)# @
Expected behaviour
Ammonite REPL should respect Scala version from using directives.
The text was updated successfully, but these errors were encountered:
Version(s)
1.6.1
Describe the bug
When the default Scala version is not yet supported by the default Ammonite version, we automatically downgrade to a hardcoded version.
This, however, only works if the Scala version is passed to the REPL via a command line option.
Whatever is defined in a using directive gets ignored at the moment.
To Reproduce
Expected behaviour
Ammonite REPL should respect Scala version from
using
directives.The text was updated successfully, but these errors were encountered: