mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Diag] Don't use typed editor placeholder in diagnostics.
Most of command line users are not familiar with <#T##TypeName#> syntax.
This commit is contained in:
@@ -4766,7 +4766,7 @@ static bool diagnoseSingleCandidateFailures(CalleeCandidateInfo &CCI,
|
||||
if (auto FT = param.Ty->getAs<AnyFunctionType>())
|
||||
if (FT->isAutoClosure())
|
||||
Ty = FT->getResult();
|
||||
insertText << "<#T##" << Ty << "#>";
|
||||
insertText << "<#" << Ty << "#>";
|
||||
if (argIdx == 0 && insertableEndIdx != 0)
|
||||
insertText << ", ";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user