Scala 2.8.1和Eclipse中的延续 [英] continuations in Scala 2.8.1 and Eclipse

查看:46
本文介绍了Scala 2.8.1和Eclipse中的延续的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Eclipse中使用-P:continuations:enable标志启动scala(或scalac)我使用了进口scala.util.continuations._;在我的代码中,并且需要启用该插件.

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.

推荐答案

窗口->首选项-> Scala->编译器

Window -> Preferences -> Scala -> Compiler

添加延续:启用到P输入框

add continuations:enable to P input box

这篇关于Scala 2.8.1和Eclipse中的延续的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆