-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intellij/sbt error: not found:object KVStore #4
Comments
Hmm, I can't seem to reproduce the error. Which scala version are you using? Also what are you using to run the code (intellij or |
I am running scalaVersion := "2.11.5", I am primarily using intellij but i get the same errors if I run It is a bit strange as it was working and then I changed some things, but now I get the error above. Here is a minimal example: https://github.com/kthompson/freasy-test |
Try adding this to your build.sbt: addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full) |
That seems to have helped. Not sure why it didnt work in the plugin.sbt file. Now I am getting some other weird errors:
|
It looks like at least one parameter is required for the abstract methods within the trait? |
Something may not be generated correctly. I am going to look into it. |
Could you give v0.4.1 a try? resolvers += Resolver.jcenterRepo
libraryDependencies ++= Seq(
"com.thangiee" %% "freasy-monad" % "0.4.1",
"org.typelevel" %% "cats" % "0.7.2"
)
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full) Please tell me if it works or not, thanks! |
Awesome! Looks like its working. Thanks for the quick responses. 😃 |
No problem :) |
When i use the example provided:
I get an error
Error:(64, 33) not found: value KVStore class impureInterpreter extends KVStore.Interp[Id] {
I have tried
"com.thangiee" %% "freasy-monad" % "0.3.0",
and"com.thangiee" %% "freasy-monad" % "0.4.0",
The text was updated successfully, but these errors were encountered: