lamp icon indicating copy to clipboard operation
lamp copied to clipboard

Codebase would not longer compile with Scala 3.6

Open WojciechMazur opened this issue 5 months ago • 1 comments

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 https://github.com/scala/scala3/issues/21632#issuecomment-2368683664

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

WojciechMazur avatar Sep 23 '24 16:09 WojciechMazur