scalac -P
option is not passed to scalac from the CLI
#2653
Labels
bug
Something isn't working
Projects
Version(s)
1.1.0
Describe the bug
When trying to use the continuations compiler via scala-cli, the required
-P:continuations:enable
argument is not being passed scalac when provided to scala-cli via the CLI.To Reproduce
Expected behaviour
The code should compile and run, but compilation fails with
this code must be compiled with the Scala continuations plugin enabled
. Running scala-cli with-v -v
shows that the-P
argument is not being passed to scalac.Workaround
Setting the
-P
argument as a directive works correctly:The text was updated successfully, but these errors were encountered: