New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tasty Reader support 3.0.0 final #9617
Conversation
this will support 3.0.0 final as well...? or will there be one more PR for that? |
Hey, @bishabosha. Could you look to removing the |
@SethTisue There would be another PR after this to support 3.0.0 final, which will break the tasty version |
Couldn't we already allow the current code to accept the final tasty version? It's a pretty safe bet at this point that the format won't change anymore. That would allow 2.13.6 to work with Scala 3.0.0 as soon as it is released. Otherwise, there will be a very awkward period after the release of Scala 3.0.0 where no Scala 2.13 version can actually work with it. |
20ae390
to
e7142bb
Compare
@sjrd @SethTisue I have added an escape hatch for the tasty version that will ship with Scala 3.0.0 |
- load Scala 3 compiler in sandboxed classloader. This change was added due to a conflict in reading the file compiler.properties. - Add new erasure mode for Scala 3 intersection types - Test erasure for constructors and SAM types - Implement erasure for Arrays and test it
- enable scala 3 erasure for Type#erasure - test intersection erasure with enums
- optimise dotty enum singleton erasure - optimise dotty trait param checks
- It can be possible for a private local value to overload its field getter, so only select non-private local values - also some refactorings
-also generate fresh wildcard name for wildcards
also document constructor type params
937b234
to
466c510
Compare
it was a no-op in dotty
LGTM once my comments are addressed! I only reviewed the parts in detail that touch other areas of the compiler. |
Interesting points:
SCALA3X
flag tosrc/reflect/scala/reflect/internal/Flags.scala