Skip to content

Commit 88fba29

Browse files
committed
Use weight instead of index, change label 'value' -> 'impact'
1 parent 408bf4a commit 88fba29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/Sema/ConstraintSystem.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,10 +1198,10 @@ struct Score {
11981198
if (Data[i] != 0) {
11991199
out << " [component: ";
12001200
out << "#";
1201-
out << std::to_string(i);
1201+
out << std::to_string(NumScoreKinds - i);
12021202
out << " ";
12031203
out << getNameFor(ScoreKind(i));
1204-
out << "(s), value: ";
1204+
out << "(s), impact: ";
12051205
out << std::to_string(Data[i]);
12061206
out << "]";
12071207
hasNonDefault = true;

0 commit comments

Comments
 (0)