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-2233] Rich Protocol Non-Conformance Errors #44840

Closed
swift-ci opened this issue Jul 31, 2016 · 1 comment
Closed

[SR-2233] Rich Protocol Non-Conformance Errors #44840

swift-ci opened this issue Jul 31, 2016 · 1 comment
Labels
compiler The Swift compiler in itself conformances Feature → protocol: protocol conformances diagnostics QoI Bug: Diagnostics Quality of Implementation duplicate Resolution: Duplicates another issue improvement

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-2233
Radar None
Original Reporter xnukernel (JIRA User)
Type New Feature
Status Resolved
Resolution Duplicate
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels New Feature
Assignee None
Priority Medium

md5: 792081a5c3ba5577d113c81a71eb11ae

duplicates:

  • SR-2077 Fixits for missing protocol requirements

Issue Description:

A complier change that would return an error for each non-conformance to a protocol. Each non-conformance error would explicitly show the unimplemented properties and methods.

One suggestion was to nest the protocol non-conformance errors for each class/struct that fails to conform. A concern was that they may not always be best implemented across all IDEs. However, Xcode could implement such error throwing.

@ahoppen
Copy link
Contributor

ahoppen commented Jul 31, 2016

I implemented this as part of SR-2077 about two weeks ago. The fixits should be available with the latest toolchain on swift.org.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added improvement diagnostics QoI Bug: Diagnostics Quality of Implementation conformances Feature → protocol: protocol conformances duplicate Resolution: Duplicates another issue and removed new feature labels Nov 16, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler The Swift compiler in itself conformances Feature → protocol: protocol conformances diagnostics QoI Bug: Diagnostics Quality of Implementation duplicate Resolution: Duplicates another issue improvement
Projects
None yet
Development

No branches or pull requests

3 participants