Skip to content
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

Official support for writing community rules in Scala 3 #2041

Open
9 tasks
bjaglin opened this issue Aug 21, 2024 · 0 comments
Open
9 tasks

Official support for writing community rules in Scala 3 #2041

bjaglin opened this issue Aug 21, 2024 · 0 comments

Comments

@bjaglin
Copy link
Collaborator

bjaglin commented Aug 21, 2024

Spin-off from #1680 / #2034

  • Publish core_3 without using it internally
  • Prepare community rules to have artifacts built against core_3 ready ahead of the last step
    • Go through the listed community rules and make sure Scala Steward rolls out the change
    • Advocate for community rules to cross-compile to scala 3 by updating https://github.com/scalacenter/scalafix.g8 & examples in the docs (use scala center twitter account?)
    • Instead of testing Scala 3 targets with Scala 2.12, test Scala 2.13 targets with Scala 3 in https://github.com/scalacenter/scalafix.g8 since that's what cli3 will take by default
  • Backward compatible reflect3
    • If compilation with dotty fails, try compilation with 2.13 compiler against a core3 overlaid with the compat-metaconfig-macro containing Scala2 macros
  • Publish a pure Scala 3 cli_3
    • Make error actionnable when _3 artifacts are not found for community rules (fallback will no longer works as core_3 is not binary compatible with core_2.13)
    • Publish cli_3 against core_3 & reflect_3 in a minor (breaking-signalling) release
@bjaglin bjaglin changed the title Publish core_3 Support writing external rules with Scala 3 Aug 21, 2024
@bjaglin bjaglin changed the title Support writing external rules with Scala 3 Official support for writing community rules in Scala 3 Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant