hg clone -r cc4c0dc0a2d9 https://bitbucket.org/categoricaldata/categoricaldata
cd categoricaldata
./sbt test
echo >> src/main/scala/net/categoricaldata/category/functor/withFinitelyGeneratedSource/withFinitelyGeneratedTarget.scala
./sbt test
scalap -cp target/scala-2.9.2-RC2/classes/ "net.categoricaldata.category.functor.withFinitelyGeneratedSource.withFinitelyGeneratedTarget\$CosliceFunctor\$CosliceFunctorOver\$F"
I'm now pretty certain that this is an sbt problem, not a scala
compiler problem. Using the scala plugin for eclipse, I can generate
this AbstractMethodError by running the test
net.categoricaldata.category.LeftPushforwardTest. If I change the
build manager under the scala compiler settings from "sbt" to
"refined", the problem vanishes.
Should I file a bug report?
I think I can work around this problem for now (sbt compile, touch the
critical file, then sbt test), but it's pretty painful. Any other
recommended workarounds would be very much appreciated.
best,
Scott Morrison
I would file a bug, but I'm really curious about this now...
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
> I would file a bug, but I'm really curious about this now...
It would be rather strange for sbt to cause an AbstractMethodError on a clean compile. An incremental compile I could understand, but a fresh compile is strange. I can reproduce it, but it is a rather large test case and I won't have time in the near future to narrow it down to see if it is sbt or scalac. That it works in Eclipse doesn't necessarily mean it is sbt's fault as the issue could just be triggered by the ordering of source files or something like that. (This has happened before. It is a good initial check to compare with Eclipse, though.)
I see that you have compiled against 2.10.0-M2 at some point. Do you see the problem with that version as well?
-Mark