-
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 completionsource toolingArea: IDE support, SourceKit, and other source toolingArea: IDE support, SourceKit, and other source tooling
Description
Previous ID | SR-600 |
Radar | None |
Original Reporter | mitghi (JIRA User) |
Type | Bug |
Status | Closed |
Resolution | Done |
Additional Detail from JIRA
Votes | 0 |
Component/s | CodeCompletion |
Labels | Bug |
Assignee | None |
Priority | Medium |
md5: 4ae0b0e4c3e24bdc29ff395aa620435d
Issue Description:
let names = ["Chris", "Alex", "Ewa", "Barry", "Daniella"]
When declaring an array, for example an array of strings, on tab completion we see the wrong signature for the sort method :
sort(isOrderedBefore: (String, String) -> Bool(String, String) -> Bool) -> [String]
(String, String) -> Bool is somehow printed twice which creates confusion.
This problem is happening on the following version:
Swift version 2.2-dev (LLVM 3ebdbb2c7e, Clang f66c5bb67b, Swift 1f2908b)
Target: x86_64-unknown-linux-gnu
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 completionsource toolingArea: IDE support, SourceKit, and other source toolingArea: IDE support, SourceKit, and other source tooling