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 9067ed2 commit b9aa70bCopy full SHA for b9aa70b
lib/Sema/ConstraintSystem.cpp
@@ -3200,6 +3200,17 @@ bool ConstraintSystem::diagnoseAmbiguityWithFixes(
3200
if (diagnoseAmbiguityWithEphemeralPointers(*this, solutions))
3201
return true;
3202
3203
+ if (isDebugMode()) {
3204
+ auto &log = llvm::errs();
3205
+ log << "--- Ambiguity: Considering #" << solutions.size()
3206
+ << " solutions with fixes ---\n";
3207
+ int i = 0;
3208
+ for (auto &solution : solutions) {
3209
+ log << "--- Solution #" << i++ << "---\n";
3210
+ solution.dump(log);
3211
+ log << "\n";
3212
+ }
3213
3214
3215
// Algorithm is as follows:
3216
//
0 commit comments