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-12817] Nested generic typealias extensions apply to the parent type. #55263

Open
swift-ci opened this issue May 14, 2020 · 2 comments
Open
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-12817
Radar rdar://problem/63288179
Original Reporter Jessy (JIRA User)
Type Bug

Attachment: Download

Additional Detail from JIRA
Votes 0
Component/s
Labels Bug
Assignee None
Priority Medium

md5: ae3e73024133a277d7fe37164c70a43e

is duplicated by:

  • SR-13127 Typealias does not seem to transmit constraints to extensions

Issue Description:

Example: If the extension works at all, then EE<T>.extensionProperty should work, but not E<T>.extensionProperty.

enum E<T> { }

typealias EE<T> = E< E<T> >

extension EE {

static var extensionProperty: Int { 1 }

}

EE<Bool>.extensionProperty

E<String>.extensionProperty

@CodaFi
Copy link
Member

CodaFi commented May 15, 2020

@swift-ci create

@CodaFi
Copy link
Member

CodaFi commented May 15, 2020

Yes, this feature is not implemented properly today. We have people that are going to make this right though!

@Azoy should handle this quite nicely with the remodel in #25263

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

No branches or pull requests

2 participants