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

built-in and Scala 3 #80

Open
DuncanHills opened this issue Nov 30, 2021 · 3 comments
Open

built-in and Scala 3 #80

DuncanHills opened this issue Nov 30, 2021 · 3 comments

Comments

@DuncanHills
Copy link

Hey folks, sorry for bothering you with an issue, I just have a few questions:

  1. I saw some activity on porting some feature flags to the built-in version, like the infix option. Is that on the roadmap? cc @tribbloid
  2. What will the future of splain be for Scala 3? I use splain mainly along with Shapeless. I'm wondering if splain's features are compatible with the Dotty compiler or are they superseded by some Dotty features?

Thanks for taking the time to answer!

@tribbloid
Copy link
Collaborator

Features

That sounds like a good idea, but those features are dropped by @dwijnand for a reason (which I never bothered to ask). If you can get him or @lrytz to agree with you. It should be easy

Bugfixes

Backporting them to scalac is now on my higher-priority list. In particular, those bugfixes integrated into 0.5.9-SNAPSHOT. I'll have to seek permission from @lrytz again.

Scala 3

I don't think we have a roadmap for Scala 3 yet, considering that its metaprogramming features is still in progress. In addition, implicit error message of Scala 3 is already a vast improvement, and received much less complaint

@lrytz
Copy link

lrytz commented Dec 1, 2021

Backporting them to scalac is now on my higher-priority list. In particular, those bugfixes integrated into 0.5.9-SNAPSHOT. I'll have to seek permission from @lrytz again.

Feel free to send a PR to scala/scala any time.

@tribbloid
Copy link
Collaborator

@DuncanHills still no roadmap so far, the biggest problem I anticipated is the lack of a long-term interface for Scala3 compiler plugin, the only interface is for compile-time macros, which is not a bad place to start if we want to migrate splain features to Scala 3.

Regardless, there are works to be done ASAP to make the future migration easier:

  • move to enable -Xsource:3 syntax to prepare for Scala 3 migration

Any help (suggestions/PR) will be greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants