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-13271] Code-completion fails in specific context #55711

Closed
jeremyabannister opened this issue Jul 23, 2020 · 1 comment
Closed

[SR-13271] Code-completion fails in specific context #55711

jeremyabannister opened this issue Jul 23, 2020 · 1 comment
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. code completion Area → source tooling: code completion source tooling Area: IDE support, SourceKit, and other source tooling

Comments

@jeremyabannister
Copy link

Previous ID SR-13271
Radar rdar://problem/66002497
Original Reporter @jeremyabannister
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s CodeCompletion
Labels Bug
Assignee @rintaro
Priority Medium

md5: 167d4fff922e5f82bd2ab66e80d94577

Issue Description:

I initially wrote this out here: https://forums.swift.org/t/coe-completion-enhancement-request/38677

Thanks to @rintaro for distilling the issue down to this:

struct X { }

struct A<T> {
    static var foo: A<X> { A<X>() }
}

func C<T>(_ a: ()->A<T>) { }

func demo () {
    C {
        ./*HERE*/
    }
}

After typing `.` inside the closure above I should be offered `.foo` by the code-completion menu, but I am not.

Thanks!

@rintaro
Copy link
Mannequin

rintaro mannequin commented Jul 24, 2020

master: #33080
We are not going to include this to release/5.3

@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 source tooling Area: IDE support, SourceKit, and other source tooling
Projects
None yet
Development

No branches or pull requests

2 participants