nbronson/scala-stm — Issue #31: doesn't compile against Scala 2.10.0-M2 (some manifest problems)
Author: Sciss
Created: 2012-03-03 23:12:16+00:00
State: open

i just tried this (it's possible to start building using [this sbt 0.11.3 snapshot version](http://repo.typesafe.com/typesafe/ivy-snapshots/org.scala-tools.sbt/sbt-launch/0.11.3-20120130-052105/). there is some issues apparently, this is what i get:

[info] Compiling 61 Scala sources to /Users/hhrutz/Documents/devel/scala-stm/target/scala-2.10/classes...
[info] 'compiler-interface' not yet compiled for Scala 2.10.0-M2. Compiling...
[info] Compilation completed in 13.242 s
[warn] /Users/hhrutz/Documents/devel/scala-stm/src/main/scala/scala/concurrent/stm/skel/TSetViaClone.scala:58: a pure expression does nothing in statement position; you may be omitting necessary parentheses
[warn] this
[warn] ^
[error] /Users/hhrutz/Documents/devel/scala-stm/src/main/scala/scala/concurrent/stm/Ref.scala:206: type arguments [A] do not conform to class AnyValManifest's type parameter bounds [T <: AnyVal]
[error] case m: AnyValManifest[_] => newPrimitiveRef(initialValue, m.asInstanceOf[AnyValManifest[A]])
[error] ^
[error] /Users/hhrutz/Documents/devel/scala-stm/src/main/scala/scala/concurrent/stm/Ref.scala:211: type arguments [A] do not conform to class AnyValManifest's type parameter bounds [T <: AnyVal]
[error] private def newPrimitiveRef[A](initialValue: A, m: AnyValManifest[A]): Ref[A] = {
[error] ^
[warn] /Users/hhrutz/Documents/devel/scala-stm/src/main/scala/scala/concurrent/stm/ccstm/TxnLevelImpl.scala:244: scala.concurrent.stm.Txn.RollbackCause and object scala.concurrent.stm.Txn.ExplicitRetryCause are unrelated: they will most likely never compare equal
[warn] if (cause == Txn.ExplicitRetryCause)
[warn] ^
[warn] two warnings found
[error] two errors found
[error] {file:/Users/hhrutz/Documents/devel/scala-stm/}default-d874ad/compile:compile: Compilation failed
[error] Total time: 28 s, completed Mar 3, 2012 11:03:18 PM