Error with scala -2.8 and scalacheck: Prop has the 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)

This is actual scala -2.8, and scalacheck was updated by sbaz just before (sbaz update; sbaz update).

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

Do I need to get sources and recompile scalacheck myself?

+3
source share
2 answers

You can get it on the page. It seems that it has not yet been updated to 1.7 in sbaz.

+3
source

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

+1
source

Source: https://habr.com/ru/post/1757679/


All Articles