Skip to content

fix: add missing specialized method in NumericRange#25020

Merged
hamzaremmal merged 1 commit intoscala:mainfrom
hamzaremmal:numeric-range
Jan 21, 2026
Merged

fix: add missing specialized method in NumericRange#25020
hamzaremmal merged 1 commit intoscala:mainfrom
hamzaremmal:numeric-range

Conversation

@hamzaremmal
Copy link
Copy Markdown
Member

When porting the scala 2 side of the library, the following method was not detected by any of our tools and was missing.

@hamzaremmal hamzaremmal requested a review from a team as a code owner January 20, 2026 13:27
Copy link
Copy Markdown
Member Author

@hamzaremmal hamzaremmal Jan 20, 2026

Choose a reason for hiding this comment

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

We should keep in mind the following #22524. Potentially, this test might be useless.

@hamzaremmal hamzaremmal requested a review from sjrd January 20, 2026 13:30
@hamzaremmal hamzaremmal added the backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. label Jan 20, 2026
Comment on lines +4 to +7
lazy val lib = project.in(file("lib"))
.settings(
scalaVersion := scala2Version
)
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.

Potentially all of these tests can be moved to sbt-test/scala2-compat/i24998 which does also enabled optimizations on the Scala 2 library
Mostly an optimization, since scripted tests are typically quite expensive

@WojciechMazur
Copy link
Copy Markdown
Contributor

WojciechMazur commented Jan 20, 2026

The scaladoc failure is unrelated to this change, but rather to the #24963 - I'm not sure why it was not activated earlier in the CI (I've seen in the 3.8.1-RC1 branch though during backports earlier)
See b31bdb2 (despite the comment I was able to reproduce it locally)

Scaladoc CI fix is now in main #25022

@WojciechMazur WojciechMazur added this to the 3.8.1 milestone Jan 20, 2026
@hamzaremmal
Copy link
Copy Markdown
Member Author

rebasing so that the scaladoc failure passes.

@hamzaremmal hamzaremmal enabled auto-merge January 21, 2026 10:00
@hamzaremmal hamzaremmal merged commit d667d74 into scala:main Jan 21, 2026
56 checks passed
@hamzaremmal hamzaremmal deleted the numeric-range branch January 21, 2026 11:39
@WojciechMazur WojciechMazur added backport:accepted This PR needs to be backported, once it's been backported replace this tag by "backport:done" and removed backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. labels Jan 21, 2026
WojciechMazur added a commit that referenced this pull request Jan 21, 2026
….1 (#25039)

Backports #25020 to the 3.8.1.

PR submitted by the release tooling.
[skip ci]
@WojciechMazur WojciechMazur added backport:done This PR was successfully backported. and removed backport:accepted This PR needs to be backported, once it's been backported replace this tag by "backport:done" labels Jan 21, 2026
WojciechMazur added a commit that referenced this pull request Jan 22, 2026
….2 (#25049)

Backports #25020 to the 3.8.2-RC1.

PR submitted by the release tooling.
[skip ci]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:done This PR was successfully backported.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants