Comments (9)
Something may not be generated correctly. I am going to look into it.
from freasy-monad.
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 sbt run
, etc... )?
from freasy-monad.
I am running scalaVersion := "2.11.5", I am primarily using intellij but i get the same errors if I run sbt compile
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
from freasy-monad.
Try adding this to your build.sbt:
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)
from freasy-monad.
That seems to have helped. Not sure why it didnt work in the plugin.sbt file. Now I am getting some other weird errors:
Error:(27, 20) wrong number of type parameters for method getAll: [F[_], T](implicit I: cats.free.Inject[FilterStore.FilterStoreGrammar,F])cats.free.Free[F,List[T]] get <- getAll[Any] Error:(7, 2) too many arguments for method removeAll: ()(implicit I: cats.free.Inject[FilterStore.FilterStoreGrammar,F])cats.free.Free[F,Unit] @free
from freasy-monad.
It looks like at least one parameter is required for the abstract methods within the trait?
from freasy-monad.
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!
from freasy-monad.
Awesome! Looks like its working. Thanks for the quick responses. 😃
from freasy-monad.
No problem :)
from freasy-monad.
Related Issues (11)
- media for README
- Plugin exception in IntelliJ IDEA 2017.1 HOT 1
- Provide cats 1.0 support
- Specify/change how vals are handled? HOT 4
- Intellij Idea plugin fails with the following exception at startup HOT 2
- Freasy Monad Plugin Kills IntelliJ HOT 3
- Publish Scala 2.12.0 artifact HOT 1
- Idea plugin thinks there are ADT members for non-abstract methods. HOT 2
- Crash on EAP version of Scala plugin HOT 3
- Issue compiling when context bounds are used HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freasy-monad.