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-8032] Compiler doesn't recognise constraints defined by where clause #50565

Closed
iby opened this issue Jun 18, 2018 · 0 comments
Closed

[SR-8032] Compiler doesn't recognise constraints defined by where clause #50565

iby opened this issue Jun 18, 2018 · 0 comments
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@iby
Copy link

iby commented Jun 18, 2018

Previous ID SR-8032
Radar None
Original Reporter @iby
Type Bug
Status Resolved
Resolution Duplicate
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug
Assignee @slavapestov
Priority Medium

md5: 707a5d3c6206904af20203db471a8deb

duplicates:

  • SR-6816 Let protocols inherit from class types

Issue Description:

This is parted from SR-8011, see it for details.

Perhaps I'm not getting how where clause works – I thought it's kind of the same as regular inheritance, the outcome at least… I was going for a counter argument that the following works, but compiler also fails to build with a redundant conformance warning followed by a crash. Perhaps a separate issue?

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
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
Projects
None yet
Development

No branches or pull requests

1 participant