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

Scala 3 #59

Merged
merged 3 commits into from
Aug 9, 2022
Merged

Scala 3 #59

merged 3 commits into from
Aug 9, 2022

Conversation

tpolecat
Copy link
Member

@tpolecat tpolecat commented Aug 9, 2022

No description provided.

@mergify mergify bot added the service label Aug 9, 2022
Copy link
Contributor

@swalker2m swalker2m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent.

@@ -45,7 +45,7 @@ trait SnippetMapping[F[_]] extends Mapping[F] {
private implicit val SemigroupTypeMapping: Semigroup[TypeMapping] = (a, b) =>
(a, b) match {
case (a: ObjectMapping, b: ObjectMapping) => a |+| b
case (a: LeafMapping[_], _: LeafMapping[_]) => a
case (a: LeafMapping[x], _: LeafMapping[y]) => a
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, what is this about?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scala 3 doesn't like existentials. There may be a better way to do this.

@tpolecat tpolecat merged commit 693fdef into main Aug 9, 2022
@tpolecat tpolecat deleted the scala3 branch August 9, 2022 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants