Skip to content

Conversation

DougGregor
Copy link
Member

When we synthesize the declaration for getters and setters from (e.g.) an
addressor, ensure that we clone the generic parameter list when we have a
generic subscript. Fixes rdar://problem/45046969.

…r lists.

When we synthesize the declaration for getters and setters from (e.g.) an
addressor, ensure that we clone the generic parameter list when we have a
generic subscript. Fixes rdar://problem/45046969.
@DougGregor
Copy link
Member Author

@swift-ci please smoke test and merge

@slavapestov
Copy link
Contributor

Good catch!

@swift-ci swift-ci merged commit b9d0a49 into swiftlang:master Oct 5, 2018
@DougGregor DougGregor deleted the synthesize-getter-setter-generic-subscript branch October 5, 2018 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants