Skip to content

Instantly share code, notes, and snippets.

@xuwei-k
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xuwei-k/5028ccf9a4d4af890d0f to your computer and use it in GitHub Desktop.
Save xuwei-k/5028ccf9a4d4af890d0f to your computer and use it in GitHub Desktop.
scalaVersion := "2.11.3"
libraryDependencies += "org.scalaz" %% "scalaz-core" % "7.0.6"
package si8899
object Main {
def main(args: Array[String]): Unit = {
scalaz.Rope.empty[String].filter(_ => true)
}
}
[error] (run-main-0) java.lang.AbstractMethodError: scalaz.WrappedRope.filterImpl(Lscala/Function1;Z)Ljava/lang/Object;
java.lang.AbstractMethodError: scalaz.WrappedRope.filterImpl(Lscala/Function1;Z)Ljava/lang/Object;
at scala.collection.TraversableLike$class.filter(TraversableLike.scala:270)
at scalaz.WrappedRope.filter(Rope.scala:114)
at si8899.Main$.main(Main.scala:6)
at si8899.Main.main(Main.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
[trace] Stack trace suppressed: run last compile:run for the full output.
java.lang.RuntimeException: Nonzero exit code: 1
at scala.sys.package$.error(package.scala:27)
[trace] Stack trace suppressed: run last compile:run for the full output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment