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

RootModule and Cross cannot be applied to the same module #3693

Open
lihaoyi opened this issue Oct 9, 2024 · 0 comments
Open

RootModule and Cross cannot be applied to the same module #3693

lihaoyi opened this issue Oct 9, 2024 · 0 comments
Milestone

Comments

@lihaoyi
Copy link
Member

lihaoyi commented Oct 9, 2024

Both of them are classs, so neither one can be mixed in.

This probably can't be fixed in Scala 2, as they both need to take parameters (implicit for RootModule, explicit for Cross), and so cannot be traits. This may be fixable in Scala 3 which allows trait parameters

@lihaoyi lihaoyi added this to the 0.13.0 milestone Oct 9, 2024
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

1 participant