[SR-8916] Misleading error message on member ref with explicit empty argument names #51422
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
type checker
Area → compiler: Semantic analysis
Environment
Apple Swift version 4.2-dev (LLVM aeaaca98ed, Clang 1ddef2249a, Swift 20bb815)
Target: x86_64-apple-darwin17.7.0
Additional Detail from JIRA
md5: ca3ac598a81990426ce458dc467da9a9
Issue Description:
The error message on the following is a bit misleading:
Foo
does have a memberbar
, it's just that the user is incorrectly using syntax that is used to disambiguate functions rather than properties of function type.The text was updated successfully, but these errors were encountered: