mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SourceKit] Never try to report mangled names for archetypes without contexts. rdar://28094209
This commit is contained in:
@@ -658,7 +658,7 @@ static bool passCursorInfoForDecl(const ValueDecl *VD,
|
||||
unsigned MangledTypeEnd = SS.size();
|
||||
|
||||
unsigned MangledContainerTypeStart = SS.size();
|
||||
if (ContainerTy) {
|
||||
if (ContainerTy && !ContainerTy->hasArchetype()) {
|
||||
llvm::raw_svector_ostream OS(SS);
|
||||
SwiftLangSupport::printTypeUSR(ContainerTy, OS);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user