We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
error: circular class inheritance
swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a, OSX 10.11
This behavior was not present in swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a or Swift 2.2
md5: 3ea59d1551cb1dba4a54feb3496fc53c
Issue Description:
protocol C : class { associatedtype CN } protocol N { associatedtype NN } final class T {} final class S {} extension T : C { typealias CN = T.NN } extension T : N { typealias NN = S }
Expected behavior: compile
Actual behavior:
error: circular class inheritance T typealias CN = T.NN
The text was updated successfully, but these errors were encountered:
I have the same with different syntax with snapshot 2016-06-06
final class Foo { let variant:Foo.Variant // error: circular class inheritance Foo enum Variant: RawRepresentable { // ... } }
Sorry, something went wrong.
Error is gone in 3.0 and master.
No branches or pull requests
Environment
swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a, OSX 10.11
This behavior was not present in swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a or Swift 2.2
Additional Detail from JIRA
md5: 3ea59d1551cb1dba4a54feb3496fc53c
Issue Description:
Expected behavior: compile
Actual behavior:
The text was updated successfully, but these errors were encountered: