File tree Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -342,11 +342,31 @@ StepResult ComponentStep::take(bool prevFailed) {
342
342
343
343
// / Try to figure out what this step is going to be,
344
344
// / after the scope has been established.
345
+ auto bestBindings = CS.determineBestBindings ();
345
346
auto *disjunction = CS.selectDisjunction ();
346
- const bool isSolverStep = !IsSingle;
347
- auto bestBindings = CS.determineBestBindings (isSolverStep);
348
- if (isSolverStep) {
347
+ auto *conjunction = CS.selectConjunction ();
348
+
349
+ if (CS.isDebugMode () && !IsSingle) {
350
+ PrintOptions PO;
351
+ PO.PrintTypesForDebugging = true ;
352
+ if (disjunction) {
353
+ auto &log = getDebugLogger ();
354
+ log.indent (CS.solverState ->depth );
355
+ log << " (disjunction = [" ;
356
+ auto constraints = disjunction->getNestedConstraints ();
357
+ log << constraints[0 ]->getFirstType ()->getString (PO);
358
+ log << " ])\n " ;
359
+ }
360
+ if (conjunction) {
361
+ auto &log = getDebugLogger ();
362
+ log.indent (CS.solverState ->depth );
363
+ log << " (conjunction = [" ;
364
+ auto constraints = conjunction->getNestedConstraints ();
365
+ log << constraints[0 ]->getFirstType ()->getString (PO);
366
+ log << " ])\n " ;
367
+ }
349
368
auto &log = getDebugLogger ();
369
+ log.indent (2 );
350
370
log << " )" << ' \n ' ;
351
371
log.indent (0 );
352
372
}
You can’t perform that action at this time.
0 commit comments