File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -346,8 +346,31 @@ 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 ()) {
354
+ PrintOptions PO;
355
+ PO.PrintTypesForDebugging = true ;
356
+
357
+ if (disjunction) {
358
+ auto &log = getDebugLogger ();
359
+ log.indent (2 );
360
+ log << " Disjunction(s) = [" ;
361
+ auto constraints = disjunction->getNestedConstraints ();
362
+ log << constraints[0 ]->getFirstType ()->getString (PO);
363
+ log << " ])\n " ;
364
+ }
365
+ if (conjunction) {
366
+ auto &log = getDebugLogger ();
367
+ log.indent (2 );
368
+ log << " Conjunction(s) = [" ;
369
+ auto constraints = conjunction->getNestedConstraints ();
370
+ log << constraints[0 ]->getFirstType ()->getString (PO);
371
+ log << " ])\n " ;
372
+ }
373
+ }
351
374
352
375
if (CS.shouldAttemptFixes ()) {
353
376
if ((bestBindings &&
You can’t perform that action at this time.
0 commit comments