Jorge has a 2.7.2 branch that he's actively maintaining.
Thanks,
David
Cheers
Tim
Oh cool - I tried 2.7.2 the other day and lift bombed massively. What's the ETA for scala 2.7.2? I guess it would be good to know to what extent it will affect the lift API when it moves to a proper release?
There are indeed two Git branches dedicated to tracking Scala
releases. Right now there are 'scala-snapshot' and 'scala-2.7.2.RC1',
which compile against those respective targets. (Unfortunately there's
a compiler bug in RC1, fixed in the latest nightly, that crashes when
compiling lift-xmpp.) I'll make a 'scala-2.7.2.RC2' branch as soon as
that release is made.
Up until this AbstractActor issue came up, only some minor cosmetic
changes were needed. I believe the two major changes in Scala 2.7.2
(as far as Lift is concerned) are:
1) Java varargs now work just like Scala varargs (this cleaned up
some Lift code a bit)
2) Lowercase types (int, boolean, char, etc) are deprecated in favor
of their uppercase equivalents (Int, Boolean, Char, etc)
As for AbstractActor, it seems cleaner to restrict the type of 'actor'
in the pattern matching statement, like so:
def act = loop {
react {
case Exit(actor: Actor, why: Throwable) =>
failureFuncs.foreach(f => tryo(f(actor, why)))
case _ =>
}
}
I've included the code in the git branches.
--j