Commit Graph

2 Commits

Author SHA1 Message Date
Pavel Yaskevich
ec6a874ac8 [TypeChecker] NFC: Update test-cases improved by new missing arguments diagnostic 2019-09-25 10:47:26 -07:00
Pavel Yaskevich
efd2069f0c [CSDiag] Don't increase candidate curry level if base is ignored
When `CandidateCalleeInfo` tries to create a candidate for expression
in form of `<base>.<func>` it shouldn't assume that function type of
'<func>' would always be at curry level 1, because base could be ignored
when it is a module or 'b' refers to a static function.

Resolves: rdar://problem/45242032
2018-10-17 17:47:42 -07:00