Commit 7ce8a44
committed
[CSSimplify] Increase fix impact when passing closure to a non-function type parameter
In overloaded context it's possible that there is an overload that
expects a closure but it can have other issues e.g. different number
of parameters, so in order to pick a better solution let's always
increase a score for overloads where closure is matched against a
non-function type parameter.1 parent bd010c3 commit 7ce8a44
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11393 | 11393 | | |
11394 | 11394 | | |
11395 | 11395 | | |
| 11396 | + | |
| 11397 | + | |
| 11398 | + | |
| 11399 | + | |
| 11400 | + | |
| 11401 | + | |
| 11402 | + | |
| 11403 | + | |
| 11404 | + | |
| 11405 | + | |
11396 | 11406 | | |
11397 | 11407 | | |
11398 | 11408 | | |
| |||
0 commit comments