3
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 更新;sbaz 升级)。

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

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

4

2 回答 2

3

You can get it from the project page. It seems that it is not updated to 1.7 in sbaz yet.

于 2010-08-02T15:33:34.727 回答
1

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

于 2010-08-04T14:58:49.077 回答