Updating dependencies
Please check out comments in the PR. I also added reference to scala-collection-compat library (see build.sbt in #807). It is necessary, because fixing code to work with Scala 2.13 is not enough. It should also be compilable with Scala 2.12, 2.11.
Here are the details https://index.scala-lang.org/scala/scala-collection-compat
scala-collection-compat
makes some Scala 2.13 APIs (primarily collections, also some others) available on 2.11 and 2.12, to aid cross-building
7 Replies
I'll create thread for us so that its easier to keep track.
@kii do you plan to work on https://github.com/ScorexFoundation/sigmastate-interpreter/pull/808 this week?
yes on friday. My mondays till thursday are packed.
i pushed a change, can you take a look?
Does it have to be able to build on both 2.12 and 2.13?
I made a bunch of changes that allows 2.13 to compile without failure, however, when i change the version back to 2.12. It started failing at some of the places i changed
@morphic
of cause, not only 2.12, but also 2.11
yeah, this is what makes this task not trivial 🙂
using scala-collection-compat is a key, and if something is not present in the
compat library, you can use the same tricks and add extend it (in sigmastate repository)
you can look at compat library and see how it is implemented.Aight. Will look more into it and get it to a state where everything is passing 🙂