Skip to content

Conversation

tgodzik
Copy link

@tgodzik tgodzik commented Sep 12, 2025

Backports scala#23847 to the 3.3.7.

PR submitted by the release tooling.
[skip ci]

som-snytt and others added 2 commits September 12, 2025 19:01
Fixes scala#21187

If a function literal `x => body` has an expected type `X ?=> ?` then
maybe they intended to write `x ?=> body`.

As shown in the test, maybe types will misalign in other ways to emit
warnings.
Fixes scala#21187 

If a function literal `x => body` has an expected type `X ?=> ?` then
maybe they intended to write `x ?=> body`.

As shown in the test, maybe types will misalign in other ways to emit
warnings.
[Cherry-picked e0ff329][modified]
Base automatically changed from backport-lts-3.3-23853 to lts-3.3 September 21, 2025 10:36
@tgodzik
Copy link
Author

tgodzik commented Sep 21, 2025

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

Reference

@tgodzik tgodzik merged commit c80228f into lts-3.3 Sep 21, 2025
22 checks passed
@tgodzik tgodzik deleted the backport-lts-3.3-23847 branch September 21, 2025 10:36
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