We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbfc5e0 commit ad86ec2Copy full SHA for ad86ec2
lib/Sema/CSStep.cpp
@@ -369,6 +369,21 @@ StepResult ComponentStep::take(bool prevFailed) {
369
log.indent(2);
370
log << ")" << '\n';
371
log.indent(0);
372
+
373
+ if (CS.getTypeVariables().size() > 1) {
374
+ auto &log = getDebugLogger();
375
+ log << "(selecting next type variable to attempt from [";
376
+ auto typeVars = CS.getTypeVariables();
377
+ PrintOptions PO;
378
+ PO.PrintTypesForDebugging = true;
379
+ interleave(typeVars, [&](TypeVariableType *typeVar) {
380
+ Type(typeVar).print(log, PO);
381
+ },
382
+ [&] {
383
+ log << ", ";
384
+ });
385
+ log << "])" << '\n';
386
+ }
387
}
388
389
if (CS.shouldAttemptFixes()) {
0 commit comments