mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge remote-tracking branch 'origin/master' into master-next
This commit is contained in:
@@ -873,9 +873,7 @@ void SwiftLangSupport::printMemberDeclDescription(const swift::ValueDecl *VD,
|
||||
if (usePlaceholder)
|
||||
OS << "<#T##";
|
||||
|
||||
if (auto substitutedTy = paramTy.subst(substMap))
|
||||
paramTy = substitutedTy;
|
||||
|
||||
paramTy = paramTy.subst(substMap);
|
||||
if (paramTy->hasError() && param->getTypeLoc().hasLocation()) {
|
||||
// Fallback to 'TypeRepr' printing.
|
||||
param->getTypeLoc().getTypeRepr()->print(OS);
|
||||
|
||||
Reference in New Issue
Block a user