Skip to content

Commit 5f6f31c

Browse files
committed
Lint function arrow intended context function (scala#23847)
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]
1 parent df7d1ba commit 5f6f31c

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)