Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error with scala-2.8 and scalacheck: Prop has wrong version

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)

It's the the actual scala-2.8, and scalacheck was updated with sbaz immediately before (sbaz update; sbaz upgrade).

Is scalacheck for scala-2.8 under development, and not suitable for 2.8, or what might be the problem?

Do I have to get the sources, and recompile scalacheck by myself?

like image 690
user unknown Avatar asked Dec 31 '25 22:12

user unknown


2 Answers

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

like image 117
Moritz Avatar answered Jan 03 '26 13:01

Moritz


ScalaCheck 1.7 for Scala 2.8 should be available in sbaz now.

like image 45
rickynils Avatar answered Jan 03 '26 12:01

rickynils



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!