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-12973] Code completion: Missing unresolved member completion #55419

Closed
nathawes opened this issue Jun 10, 2020 · 2 comments
Closed

[SR-12973] Code completion: Missing unresolved member completion #55419

nathawes opened this issue Jun 10, 2020 · 2 comments
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. code completion Area → source tooling: code completion found by stress tester Flag: An issue found by the SourceKit stress tester source tooling Area: IDE support, SourceKit, and other source tooling

Comments

@nathawes
Copy link
Collaborator

Previous ID SR-12973
Radar rdar://problem/64227770
Original Reporter @nathawes
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s CodeCompletion
Labels Bug, FoundByStressTester
Assignee @ahoppen
Priority Medium

md5: db62a315c5052ba5fc27c75c053326e0

Issue Description:

Reproducer on master:

public protocol Proto {}
public struct Struct: Proto {}

public struct Indicator<T> where T : Proto {}
extension Indicator where T == MyStruct {
  public static var activity: Indicator<MyStruct> { fatalError() }
}

public struct WebImage {
  public func indicator<T>(_ indicator: Indicator<T>) where T : Proto {
    fatalError()
  }
}

WebImage()
  .indicator(./*complete here*/activity) // activity not suggested 
@nathawes
Copy link
Collaborator Author

@swift-ci create

@ahoppen
Copy link
Contributor

ahoppen commented Apr 27, 2021

Fixed in #37065

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added the source tooling Area: IDE support, SourceKit, and other source tooling label Feb 6, 2023
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. code completion Area → source tooling: code completion found by stress tester Flag: An issue found by the SourceKit stress tester source tooling Area: IDE support, SourceKit, and other source tooling
Projects
None yet
Development

No branches or pull requests

3 participants