如何正确评估case class
中的squeryl
个实例?
$cat build.sbt
scalaVersion := "2.11.8"
libraryDependencies += "org.squeryl" %% "squeryl" % "0.9.5-7"
$sbt console
scala> case class Foo(x: Int) extends org.squeryl.customtypes.IntField(x)
defined class Foo
scala> Foo(42) == Foo(42)
res0: Boolean = false