[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:
Rintaro Ishizaki
2016-11-12 04:47:26 +09:00
parent 5adc3bf804
commit 903242c5fa
2 changed files with 57 additions and 57 deletions

View File

@@ -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 << ", ";