Skip to content

Cross compile for Scala 3#684

Merged
Z1kkurat merged 4 commits intoevolution-gaming:masterfrom
johanmast:scala3
Mar 14, 2025
Merged

Cross compile for Scala 3#684
Z1kkurat merged 4 commits intoevolution-gaming:masterfrom
johanmast:scala3

Conversation

@johanmast
Copy link
Copy Markdown
Contributor

@johanmast johanmast commented Mar 11, 2025

Cross compile for Scala 3, except for the journal module, because there is no Scala 3 version of kafka-journal.

@johanmast johanmast force-pushed the scala3 branch 2 times, most recently from 3288f36 to 76a1a73 Compare March 11, 2025 18:27
case (_, y) => y
}
)
private[this] implicit val pickMinOffset: CommutativeMonoid[Option[Offset]] =
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can we leave passing this explicitly? I'm worried about it slipping somewhere here it shouldn't belong, and it's not a universally correct implementation

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It results in a compile error on Scala 3, but I'll take another look

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed now, it required adding using for Scala 3

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@Z1kkurat Z1kkurat merged commit 9bf73e6 into evolution-gaming:master Mar 14, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants