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
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. rewritewith
to&
. That's why the reproducer uses a slightly different syntax