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