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
@adriaanm said:
Sorry, the continuations plugin has been unsupported for a while now. Please open an issue over at https://github.com/scala/scala-continuations (we're still looking for a maintainer for it, though).
Assume you have a
plugins
folder which contains the continuations.jar plugin.Then run the following (where CPS.scala is any class using the continuations plugin)
> scalac -Xplugin plugins/continuations.jar -P:continuations:enable CPS.scala
You will get compilation's errors telling that the continuations plugin is not enable.
I guess the problem is that
-Xpluginsdir
by defaults points to the directory containing the continuations.jar plugin, and that creates the confusion.To support this, running the following command works as expected (the continuations plugin is indeed loaded)
> scalac -Xpluginsdir plugins -Xplugin plugins/continuations.jar -P:continuations:enable CPS.scala
The text was updated successfully, but these errors were encountered: