Skip to content

Conversation

WojciechMazur
Copy link
Contributor

Backports #23847 to the 3.7.4.

PR submitted by the release tooling.
[skip ci]

Fixes #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]
Base automatically changed from release-3.7.4_backport-23816 to release-3.7.4 September 23, 2025 21:56
@WojciechMazur WojciechMazur merged commit 865f83f into release-3.7.4 Sep 23, 2025
48 checks passed
@WojciechMazur WojciechMazur deleted the release-3.7.4_backport-23847 branch September 23, 2025 21:56
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