Can you mix Scala 2 and 3 in the same sbt project?

Can you mix Scala 2 and 3 in the same sbt project?

I see some information about mixing macros.

Would it require that you convert any Scala 2 source files that don’t compile under version 3?

Thanks

You can mix scala 2 and scala 3 sources in the the same repo. I’ve done it in one of mine. What you can’t do is use scala 2 macros from scala 3 and vice-versa.