-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.code completionArea → source tooling: code completionArea → source tooling: code completionfound by stress testerFlag: An issue found by the SourceKit stress testerFlag: An issue found by the SourceKit stress testersource toolingArea: IDE support, SourceKit, and other source toolingArea: IDE support, SourceKit, and other source tooling
Description
| Previous ID | SR-14888 |
| Radar | rdar://80271413 |
| Original Reporter | @ahoppen |
| Type | Bug |
Additional Detail from JIRA
| Votes | 0 |
| Component/s | CodeCompletion |
| Labels | Bug, FoundByStressTester |
| Assignee | None |
| Priority | Medium |
md5: b38a2d91e10bb95470e60d5a963b76c7
relates to:
- SR-14689 Enum element labels not suggested in unresolved dot completion
Issue Description:
In the following test case the argument label translation is not suggested. When DragState is added before the dot, the label is suggested.
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=COMPLETE
enum DragState {
case inactive
case dragging(translation: Int)
}
class Foo {
var state = DragState.inactive
func foo() {
state = DragState.dragging(#^COMPLETE^# translation: 0)
}
}Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.code completionArea → source tooling: code completionArea → source tooling: code completionfound by stress testerFlag: An issue found by the SourceKit stress testerFlag: An issue found by the SourceKit stress testersource toolingArea: IDE support, SourceKit, and other source toolingArea: IDE support, SourceKit, and other source tooling