Skip to content

Instantly share code, notes, and snippets.

@ricsirigu
Created February 17, 2017 10:52
Show Gist options
  • Save ricsirigu/7aece353b1e9e01dbaaba7ca1c7505a2 to your computer and use it in GitHub Desktop.
Save ricsirigu/7aece353b1e9e01dbaaba7ca1c7505a2 to your computer and use it in GitHub Desktop.
Scala clippy
[error] Clippy advises: did you forget to define an implicit akka.stream.ActorMaterializer?
[error] It allows routes to be converted into a flow.
[error] You can read more at http://doc.akka.io/docs/akka-stream-and-http-experimental/2.0/scala/http/routing-dsl/index.html
addSbtPlugin("com.softwaremill.clippy" % "plugin-sbt" % "0.5.1")
error: diverging implicit expansion for type scala.collection.generic.CanBuildFrom[ird.replay.gui.GraphType.ValueSet,(ird.replay.gui.GraphType.Value, org.jfree.data.time.TimeSeries),That]
starting with method newCanBuildFrom in object SortedSet
[error] TheNextFacebook.scala:16: type mismatch;
[error] found : akka.http.scaladsl.server.StandardRoute
[error] required: akka.stream.scaladsl.Flow[akka.http.scaladsl.model.HttpRequest,akka.http.scaladsl.model.HttpResponse,Any]
[error] Http().bindAndHandle(r, "localhost", 8080)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment