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

Codebase would not longer compile with Scala 3.6 #478

Open
WojciechMazur opened this issue Sep 23, 2024 · 1 comment
Open

Codebase would not longer compile with Scala 3.6 #478

WojciechMazur opened this issue Sep 23, 2024 · 1 comment

Comments

@WojciechMazur
Copy link

WojciechMazur commented Sep 23, 2024

When running weekly Scala 3 Open Community Build we've found out that this project started to fail - build logs.

We've reproduced and minimized the issue, however, but it was decided that it now works as expected scala/scala3#21632 (comment)

The workaround to fix this issue is introducing local variables before calling unflift on Module instances.

Sidenote: Scala 3 OpenCB does compile the codebase twice for this project: 1 run using Scala 3.4.2 usues -rewrite, -source:3.4-migration mode to adapt the codebase, eg. rewrite with to &. That's why the reproducer uses a slightly different syntax

@pityka
Copy link
Owner

pityka commented Sep 24, 2024

Thanks a lot for all of this! I will try to make it compile under the latest nightly builds of the compiler.

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

2 participants