Skip to content

Codebase would not longer compile with Scala 3.6 #478

@WojciechMazur

Description

@WojciechMazur

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions