continuations in Scala 2.8.1 and Eclipse

前端 未结 3 1917
故里飘歌
故里飘歌 2021-01-21 03:32

How can i start scala (or scalac) with the -P:continuations:enable flag in Eclipse I used import scala.util.continuations._; in my code , and need to enable the plugin.

3条回答
  •  时光取名叫无心
    2021-01-21 04:19

    You may also need to switch the Eclipse builder used from refined to sbt, see: http://scala-ide-portfolio.assembla.com/spaces/scala-ide/wiki/SBT-based_build_manager

    However, there is a known bug with that which may or may not occur, see: http://scala-ide-portfolio.assembla.com/spaces/scala-ide/tickets/1000617-sbt-build-manager-and-certain-compiler-options-don-t-mix (allegedly fixed in latest overnight build).

提交回复
热议问题