Skip to content

use SAM instead of anonymous class#1294

Merged
fthomas merged 1 commit intofthomas:masterfrom
xuwei-k:patch-2
Oct 1, 2024
Merged

use SAM instead of anonymous class#1294
fthomas merged 1 commit intofthomas:masterfrom
xuwei-k:patch-2

Conversation

@xuwei-k
Copy link
Contributor

@xuwei-k xuwei-k commented Sep 23, 2024

fix warning with Scala 3.5

[warn] -- [E197] Potential Issue Warning: modules/core/shared/src/main/scala-3.0+/eu/timepit/refined/internal/ToInt.scala:14:4 
[warn] 14 |    new ToInt[N] { override def apply(): Int = toInt[N] }
[warn]    |    ^

@xuwei-k xuwei-k marked this pull request as ready for review September 23, 2024 22:43
@fthomas fthomas merged commit cbce610 into fthomas:master Oct 1, 2024
@xuwei-k xuwei-k deleted the patch-2 branch October 1, 2024 06:53
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.

2 participants