@@ -1016,7 +1016,7 @@ struct Score {
1016
1016
static std::string getNameFor (ScoreKind kind) {
1017
1017
switch (kind) {
1018
1018
case SK_Hole:
1019
- return " hole in the constraint system " ;
1019
+ return " hole" ;
1020
1020
1021
1021
case SK_Unavailable:
1022
1022
return " use of an unavailable declaration" ;
@@ -1031,7 +1031,7 @@ struct Score {
1031
1031
return " forward scan when matching a trailing closure" ;
1032
1032
1033
1033
case SK_Fix:
1034
- return " attempting to fix the source " ;
1034
+ return " applied fix" ;
1035
1035
1036
1036
case SK_DisfavoredOverload:
1037
1037
return " disfavored overload" ;
@@ -1055,7 +1055,7 @@ struct Score {
1055
1055
return " collection upcast conversion" ;
1056
1056
1057
1057
case SK_ValueToOptional:
1058
- return " value to optional" ;
1058
+ return " value to optional promotion " ;
1059
1059
1060
1060
case SK_EmptyExistentialConversion:
1061
1061
return " empty-existential conversion" ;
@@ -1067,13 +1067,13 @@ struct Score {
1067
1067
return " value-to-pointer conversion" ;
1068
1068
1069
1069
case SK_FunctionToAutoClosureConversion:
1070
- return " function to autoclosure parameter" ;
1070
+ return " function to autoclosure parameter conversion " ;
1071
1071
1072
1072
case SK_ImplicitValueConversion:
1073
1073
return " value-to-value conversion" ;
1074
1074
1075
1075
case SK_UnappliedFunction:
1076
- return " overloaded unapplied function" ;
1076
+ return " use of overloaded unapplied function" ;
1077
1077
}
1078
1078
}
1079
1079
0 commit comments