Hmm, I'm trying 0.2.1 for scala 2.10 now but I'm getting lots of compile errors in my project using it.
Looks like something got haywire with implicits.
E.g:
import treehugger.forest._
import definitions._
import treehuggerDSL._
val bar = RootClass.newValue("bar")
val x: Tree = (VAL("bar") := FALSE)
gives these errors:
[error] found : String("bar")
[error] required: treehugger.forest.TermName
[error] val bar = RootClass.newValue("bar")
[error] ^
[error] (tree: treehugger.forest.Tree)treehugger.forest.treehuggerDSL.ValTreeStart <and>
[error] (sym: treehugger.forest.Symbol)treehugger.forest.treehuggerDSL.ValSymStart <and>
[error] (name:
treehugger.forest.Name)treehugger.forest.treehuggerDSL.ValNameStart
[error] cannot be applied to (String)
[error] val x: Tree = (VAL("bar") := FALSE)
Any idea?
Rintcius