You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lint function arrow intended context function (scala#23847)
Fixesscala#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]
0 commit comments