Comments (4)
Please try new version from master, let me know if something is still not OK.
from scala-mustache.
Thanks! now it compiles and passes all tests. The only thing is that there are some warnings about type erasure in matching:
[warn] .../scala-mustache/src/main/scala/Mustache.scala:432: non-variable type argument String in type pattern String => _ is unchecked since it is eliminated by erasure
[warn] case f:Function1[String, _] =>
[warn] ^
[warn] .../scala-mustache/src/main/scala/Mustache.scala:435: non-variable type argument String in type pattern (String, String => String) => _ is unchecked since it is eliminated by erasure
[warn] case f:Function2[String, Function1[String,String], _] =>
[warn] ^
...
I don't know if this is a proper solution, but I have this workaround for such cases:
type F1[t] = Function1[String, t]
type F2[t] = Function2[String, Function1[String,String], t]
//...
case f:F1[_] => //...
case f:F2[_] => //...
what do you think about it?
P.S. I also wanted to ask you to publish artifacts somewhere, so that I could use this library as a managed dependency through sbt... Could you do it for me?
from scala-mustache.
This issue should be closed. The title is upgrade to Scala 2.10. The project is now using Scala 2.11.1.
Hopefully side issues have been resolved by now, if not, then maybe another issue should be opened.
from scala-mustache.
Thanks, closing it
from scala-mustache.
Related Issues (5)
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 scala-mustache.