Skip to content

Conversation

@tgodzik
Copy link

@tgodzik tgodzik commented Nov 15, 2025

Backports scala#24258 to the 3.3.7.

PR submitted by the release tooling.
[skip ci]

Alex1005a and others added 2 commits November 15, 2025 20:27
Scala 2 has a `-Xlint:infer-any` option that warns if a type argument
was inferred as `Any`. In Scala 3 instead of union type arguments will
be inferred as union types. In Scala 3, a union type will be inferred
instead of Any. So to replace `infer-any` you need to warn that a union
type has been inferred.
Scala 2 has a `-Xlint:infer-any` option that warns if a type argument
was inferred as `Any`. In Scala 3 instead of union type arguments will
be inferred as union types. In Scala 3, a union type will be inferred
instead of Any. So to replace `infer-any` you need to warn that a union
type has been inferred.
[Cherry-picked 8490660][modified]
Base automatically changed from backport-lts-3.3-24268 to lts-3.3 November 17, 2025 15:48
@tgodzik
Copy link
Author

tgodzik commented Nov 17, 2025

No regressions detected in the community build up to backport-lts-3.3-24343.

Reference

@tgodzik tgodzik merged commit b7a13ee into lts-3.3 Nov 17, 2025
22 checks passed
@tgodzik tgodzik deleted the backport-lts-3.3-24258 branch November 17, 2025 15:48
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.

3 participants