Create Scala-3 StdLib artefact #22043
Labels
area:library
Standard library
itype:enhancement
needs-minor-release
This PR cannot be merged until the next minor release
Currently, the Scala 2 standard library is compiled with Scala 2. We would like to add extensions that are defined in Scala 3 and are meant to be consumed primarily by Scala 3. The problem is how to do that without introducing a split in the ecosystem.
Where we are today:
The proposed scheme is to
Projects that consist of 100% Scala 2 would continue to use the Scala-2 compiled library. Mixed projects would use the
newer Scala 3 library. The purpose of this issue is to identify all problems we need to fix before we can roll this out. Here are some to start with, please add others in the comments:
@specialized
. Again, we could copy class files that use it as they are into the Scala 3 library. There are not that many outside of functions and tuples anyway.The text was updated successfully, but these errors were encountered: