Skip to content

Instantly share code, notes, and snippets.

@xeno-by
Created October 9, 2013 16:52
Show Gist options
  • Save xeno-by/6904449 to your computer and use it in GitHub Desktop.
Save xeno-by/6904449 to your computer and use it in GitHub Desktop.
[error] /Users/xeno_by/Projects/specs2/src/test/scala/org/specs2/guide/Matchers.scala:571: type mismatch;
[error] found : Any
[error] required: AnyRef
[error] Note: Any is not implicitly converted to AnyRef. You can safely
[error] pattern match `x: AnyRef` or cast `x.asInstanceOf[AnyRef]` to do so.
[error] there were noMoreCallsTo(ignoreStubs(stub1, stub2))
[error] ^
[error] /Users/xeno_by/Projects/specs2/src/test/scala/org/specs2/guide/Matchers.scala:571: type mismatch;
[error] found : Any
[error] required: AnyRef
[error] Note: Any is not implicitly converted to AnyRef. You can safely
[error] pattern match `x: AnyRef` or cast `x.asInstanceOf[AnyRef]` to do so.
[error] there were noMoreCallsTo(ignoreStubs(stub1, stub2))
[error] ^
[error] /Users/xeno_by/Projects/specs2/src/test/scala/org/specs2/guide/Matchers.scala:480: could not find implicit value for evidence parameter of type org.specs2.execute.AsResult[Int]
[error] m.get(anyInt()) returns "element"
[error] ^
[error] uncaught exception during compilation: java.util.NoSuchElementException
[trace] Stack trace suppressed: run last specs2/test:compile for the full output.
[error] (specs2/test:compile) java.util.NoSuchElementException: head of empty list
[error] Total time: 31 s, completed Oct 9, 2013 6:35:56 PM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment