mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[IDE] Don't repeat the closure type in the name of the completion result.
Swift SVN r25777
This commit is contained in:
@@ -731,7 +731,8 @@ void CodeCompletionString::getName(raw_ostream &OS) const {
|
||||
using ChunkKind = CodeCompletionString::Chunk::ChunkKind;
|
||||
if (C.getKind() == ChunkKind::BraceStmtWithCursor)
|
||||
break;
|
||||
if (C.getKind() == ChunkKind::TypeAnnotation)
|
||||
if (C.getKind() == ChunkKind::TypeAnnotation ||
|
||||
C.getKind() == ChunkKind::CallParameterClosureType)
|
||||
continue;
|
||||
if (C.getKind() == ChunkKind::DeclAttrParamEqual)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user