- About Scala
- In the Enterprise
- Scala Community
- Language Research
- In the Press
- The Scala Team
- Scala's Prehistory
- Contact Us
- Learning Scala
- Tour of Scala
- Scala API
- Setup & Getting Started
- Programming Guides
- Other Guides
- Code Examples
- Scala Developers
Using development versions of Scala day-to-day
I'm presently working on a project that requires a 2.10 build of
Scala, due to a bug with overriding dependent method types in 2.9 that
has since been fixed in trunk.
I've been looking around for practical information about how to
actually do this, and I've come up short. I can set my Scala version
to 2.10-SNAPSHOT or 2.10-M1 in my build.sbt file, and with a little
tweak to sbt's compiler interface source (adding a .toString at one
point) everything works.
The interesting problem is then, how do I use other libraries, in
particular ScalaCheck? I know that binary compatibility is not
guaranteed across major versions of the compiler, but my guess is that
the source should work. Is there a way to get up-to-date compiled
versions of libraries? Or perhaps to have them compiled along with my
project without having to copy them to my own source tree?
I appreciate any pointers!