Skip to content

[SR-13340] Code completion: missing signature completion for unresolved member call in argument position expecting optional type. #55780

@nathawes

Description

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

md5: a526812008b0c6b2fc107b02b7e6fafa

Issue Description:

Reproducer with July 31st 5.3 snapshot:

struct Foo {
  static func system(blarg: Int) -> Foo {
    return Foo()
  }
}
func other(x: Foo?) {} // If this is not optional, it works.
other(x: .system(/*complete here*/)) // 'blarg:' not suggested here. 

Metadata

Metadata

Assignees

Labels

bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.code completionArea → source tooling: code completionfound by stress testerFlag: An issue found by the SourceKit stress testersource toolingArea: IDE support, SourceKit, and other source tooling

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions