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-1446] Nested generics #44055

Closed
hartbit opened this issue May 8, 2016 · 1 comment
Closed

[SR-1446] Nested generics #44055

hartbit opened this issue May 8, 2016 · 1 comment
Assignees
Labels
compiler The Swift compiler in itself improvement

Comments

@hartbit
Copy link
Collaborator

hartbit commented May 8, 2016

Previous ID SR-1446
Radar rdar://problem/18869049
Original Reporter @hartbit
Type Improvement
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Improvement
Assignee @slavapestov
Priority Medium

md5: ccb73507bfc3507848f41ef27acd8d6e

Issue Description:

From the Generics Manifesto:

Currently, a generic type cannot be nested within another generic type, e.g.

struct X<T> {
  struct Y<U> { }  // currently ill-formed, but should be possible
}

There isn't much to say about this: the compiler simply needs to be improved to handle nested generics throughout.

@slavapestov
Copy link
Member

#5600

@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
compiler The Swift compiler in itself improvement
Projects
None yet
Development

No branches or pull requests

2 participants