Skip to content

Fix implicitNotFound error and rename RGBAMethods implicit class - #3563

Merged
pomadchin merged 1 commit into
locationtech:masterfrom
pomadchin:fix/implicits-scala3
Feb 2, 2025
Merged

pomadchin merged 1 commit into
locationtech:masterfrom
pomadchin:fix/implicits-scala3

Conversation

@pomadchin

@pomadchin pomadchin commented Feb 2, 2025 •

Copy link
Copy Markdown
Member

Overview

This PR renames and outdated implicitNotFound error and renames RGBA implicit class Methods to avoid issues when using in Scala 3

Checklist

  • ./CHANGELOG.md updated, if necessary. Link to the issue if closed, otherwise the PR.

Linked #3562

@pomadchin pomadchin changed the title Fix implicitNotFound error and rename implicit class Fix implicitNotFound error and rename ARGBMethods implicit class Feb 2, 2025
@pomadchin pomadchin changed the title Fix implicitNotFound error and rename ARGBMethods implicit class Fix implicitNotFound error and rename RGBAMethods implicit class Feb 2, 2025
@pomadchin
pomadchin force-pushed the fix/implicits-scala3 branch 2 times, most recently from cccdbcd to c367299 Compare February 2, 2025 16:11

trait Implicits {
implicit class RGBA(val int: Int) {
implicit class RGBAMethods(val int: Int) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

TODO: should be a method doing conversion into the AnyVal class.

@pomadchin
pomadchin force-pushed the fix/implicits-scala3 branch from c367299 to 8cb848b Compare February 2, 2025 16:53
@pomadchin
pomadchin merged commit 3e9c995 into locationtech:master Feb 2, 2025
@pomadchin
pomadchin deleted the fix/implicits-scala3 branch February 2, 2025 17:38
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.

1 participant