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

Prep for Scala 3.4 #1

Merged
merged 11 commits into from
Feb 13, 2024
Merged

Prep for Scala 3.4 #1

merged 11 commits into from
Feb 13, 2024

Conversation

mrdziuban
Copy link
Contributor

Scala 3.4 introduced a spec for match types that results in match types on ->> either no longer compiling or working properly (for example, scala/scala3#17944).

This removes all match types on ->> and reworks type class instances accordingly. I've introduced a new package-private formless.record.FindField type class that's produced by a macro and is used by other type classes to find a matching field in a record and extract/modify/remove it. There's an equivalent formless.tuple.FindField type class that's used for finding fields in plain tuples (not records).

This also adds Scala 3.4.0-RC4 to the build so future changes are tested against it, but ensures that we still use Scala 3.3.1 for publishing artifacts.

@mrdziuban mrdziuban merged commit 4f38bcf into main Feb 13, 2024
10 checks passed
@mrdziuban mrdziuban deleted the scala-3.4 branch February 13, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant