mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ConstraintSystem] Refactor solver state depth to its own function for easier indent editing in future.
This commit is contained in:
@@ -3528,7 +3528,7 @@ void ConstraintSystem::resolveOverload(ConstraintLocator *locator,
|
||||
if (isDebugMode()) {
|
||||
PrintOptions PO;
|
||||
PO.PrintTypesForDebugging = true;
|
||||
llvm::errs().indent(solverState ? solverState->depth * 2 : 2)
|
||||
llvm::errs().indent(solverState ? solverState->getCurrentIndent() : 2)
|
||||
<< "(overload set choice binding "
|
||||
<< boundType->getString(PO) << " := "
|
||||
<< adjustedRefType->getString(PO) << ")\n";
|
||||
|
||||
Reference in New Issue
Block a user