scala-2.8和scalacheck出错:Prop版本错误

时间:2010-08-02 15:23:27

标签: scala scalacheck

scala
Welcome to Scala version 2.8.0.final (Java HotSpot(TM) Client VM, Java 1.6.0_20).
Type in expressions to have them evaluated.
Type :help for more information.

scala> import org.scalacheck.Prop.forAll                                      
error: error while loading Prop, Scala signature Prop has wrong version
 expected: 5.0
 found: 4.1 in /opt/scala-2.8/lib/scalacheck.jar(org/scalacheck/Prop.class)

这是实际的scala-2.8,scalacheck在之前更新了sbaz(sbaz update; sbaz upgrade)。

是否正在开发scala-2.8 scalacheck,不适合2.8,或者可能是什么问题?

我是否必须获取源代码,并自行重新编译scalacheck?

2 个答案:

答案 0 :(得分:3)

您可以从project page获取。似乎在sbaz中它还没有更新到1.7。

答案 1 :(得分:1)

现在可以在sbaz中使用ScalaCheck 1.7 for Scala 2.8。