Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-5929] "cannot invoke f with no arguments" is a poor error message when f is known to be a property of non-function type #48488

Open
dabrahams opened this issue Sep 19, 2017 · 1 comment
Assignees
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 regression swift 4.0

Comments

@dabrahams
Copy link
Collaborator

Previous ID SR-5929
Radar None
Original Reporter @dabrahams
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, 4.0Regression, DiagnosticsQoI
Assignee @xedin
Priority Medium

md5: d0f46e765296a6f923931a8a6965291f

Issue Description:

(swift) [1].underestimatedCount()
<REPL Input>:1:5: error: cannot invoke 'underestimatedCount' with no arguments
[1].underestimatedCount()
 ^
@belkadan
Copy link
Contributor

Looks like we got this right in 3.1 but have since regressed.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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 regression swift 4.0
Projects
None yet
Development

No branches or pull requests

3 participants